View | Details | Raw Unified | Return to bug 6658 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +5 lines)
Line     Link Here 
0
-- a/classes/plugins/PKPPlugin.inc.php
0
++ b/classes/plugins/PKPPlugin.inc.php
 Lines 546-554   class PKPPlugin { Link Here 
546
		$sql = $emailTemplateDao->installEmailTemplates($this->getInstallEmailTemplatesFile(), true, null, true);
546
		$sql = $emailTemplateDao->installEmailTemplates($this->getInstallEmailTemplatesFile(), true, null, true);
547
		if ($sql) {
547
		if ($sql) {
548
			$result = $installer->executeSQL($sql);
548
			$result = $installer->executeSQL($sql);
549
		} else {
549
			if (!$result) {
550
			$installer->setError(INSTALLER_ERROR_DB, str_replace('{$file}', $this->getInstallDataFile(), Locale::translate('installer.installParseEmailTemplatesFileError')));
550
				$installer->setError(INSTALLER_ERROR_DB, str_replace('{$file}', $this->getInstallEmailTemplatesFile(), Locale::translate('installer.installParseEmailTemplatesFileError')));
551
			$result = false;
551
				$result = false;
552
			}
552
		}
553
		}
553
		return false;
554
		return false;
554
	}
555
	}

Return to bug 6658