remove debugging stuff
This commit is contained in:
parent
230aaa5b24
commit
02e3488fd7
1 changed files with 3 additions and 3 deletions
|
@ -35,14 +35,14 @@ class Migration {
|
||||||
*/
|
*/
|
||||||
public static function maybe_migrate() {
|
public static function maybe_migrate() {
|
||||||
if ( self::is_latest_version() ) {
|
if ( self::is_latest_version() ) {
|
||||||
//return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$version_from_db = self::get_version();
|
$version_from_db = self::get_version();
|
||||||
|
|
||||||
//if ( version_compare( $version_from_db, '1.0.0', '<' ) ) {
|
if ( version_compare( $version_from_db, '1.0.0', '<' ) ) {
|
||||||
self::migrate_to_1_0_0();
|
self::migrate_to_1_0_0();
|
||||||
//}
|
}
|
||||||
|
|
||||||
update_option( 'activitypub_db_version', self::$target_version );
|
update_option( 'activitypub_db_version', self::$target_version );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue