Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
rosell-dk committed Feb 18, 2019
1 parent fb32d41 commit 73c375f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
// When an update requires a migration, the number should be increased
define('WEBPEXPRESS_MIGRATION_VERSION', '6');

//update_option('webp-express-migration-version', '5');

if (WEBPEXPRESS_MIGRATION_VERSION != get_option('webp-express-migration-version', 0)) {
// run migration logic
include __DIR__ . '/migrate/migrate.php';
}

// include __DIR__ . '/migrate/migrate3.php'; // test-running a migration
// uncomment next line to test-run a migration
// include __DIR__ . '/migrate/migrate6.php';

// uncomment next line to debug an error during activation
//include __DIR__ . "/debug.php";
Expand Down

0 comments on commit 73c375f

Please sign in to comment.