/** * Run OKAPI database update. * Will output messages to stdout. */ public static function database_update() { require_once $GLOBALS['rootpath'] . "okapi/views/update.php"; $update = new views\update\View(); $update->call(); }