X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=UpdateDatabase.php;fp=UpdateDatabase.php;h=d3ec063c95a0423afa74e430ff1558c78b5c3d8d;hp=c762a48e44ca70e5f833d35ae781630055aab45e;hb=3dfa28ee12e72e27f69a7734bef807c2628e5d53;hpb=49aab2d54f7b5e27fca0f380dd649d2cc5e54b3d diff --git a/UpdateDatabase.php b/UpdateDatabase.php index c762a48e..d3ec063c 100644 --- a/UpdateDatabase.php +++ b/UpdateDatabase.php @@ -249,18 +249,20 @@ class Pman_Core_UpdateDatabase extends Pman // this will trigger errors about freetext indexes - we will have to remove them manually.? // otherwise we need to do an sql query to find them, then remove them (not really worth it as it only affects really old code..) - + echo "Run extensions\n"; + $this->runExtensions(); if (empty($opts['data-only'])) { + echo "Import SQL\n"; $this->importSQL(); } if (!empty($opts['only-module-sql'])) { return; } - + echo "run Update Modules Data\n"; $this->runUpdateModulesData(); @@ -1226,6 +1228,7 @@ class Pman_Core_UpdateDatabase extends Pman if (!file_exists(__DIR__.'/UpdateDatabase/'. $scls .'.php')) { return; } + echo "Running : {$fn}\n"; require_once $fn; $c = new $cls();