/** * Run the installer */ static function activate($network = FALSE) { C_Photocrati_Installer::update(); }
/** * Updates all modules */ function update() { if (!(defined('DOING_AJAX') && DOING_AJAX) && !isset($_REQUEST['doing_wp_cron'])) { $this->_load_pope(); // Try updating all modules C_Photocrati_Installer::update(); } }