/** * Sets the database schema and creates folders. This should * be called on plugin activation and reactivation * @return boolean success, whether the database and folders are setup properly */ public static function initialize_db_and_folders() { $good_filesystem = EEH_Activation::create_upload_directories(); $good_db = EEH_Activation::create_database_tables(); return $good_filesystem && $good_db; }
/** * Sets the database schema and creates folders. This should * be called on plugin activation and reactivation */ public static function initialize_db_and_folders() { EEH_Activation::create_upload_directories(); EEH_Activation::create_database_tables(); }