Marius Cramer
2014-01-25 7b9c18ecaec4efb365366e606b746e8d47f29b25
install/lib/update.lib.php
@@ -179,7 +179,7 @@
            }
            //* Exec onBeforeSQL function
            if(isset($php_patch) && is_object($php_patch)) {
            if(isset($php_patch) && is_object($php_patch) && method_exists($php_patch, 'onBeforeSQL')) {
               $php_patch->onBeforeSQL();
               swriteln($inst->lng('Executing PHP patch file').': '.$php_patch_filename);
            }
@@ -193,7 +193,7 @@
            swriteln($inst->lng('Loading SQL patch file').': '.$sql_patch_filename);
            //* Exec onAfterSQL function
            if(isset($php_patch) && is_object($php_patch)) {
            if(isset($php_patch) && is_object($php_patch) && method_exists($php_patch, 'onAfterSQL')) {
               $php_patch->onAfterSQL();
            }