Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine committed Oct 26, 2024
1 parent 7024674 commit b1cc675
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Admin/Upgrade/V0_4_0.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
namespace WPGraphQL\Login\Admin\Upgrade;

use WPGraphQL\Login\Admin\Settings\AccessControlSettings;
use WPGraphQL\Login\Admin\Settings\CookieSettings;
use WPGraphQL\Login\Admin\Settings\PluginSettings;

/**
Expand Down Expand Up @@ -100,7 +101,7 @@ private function migrate_access_control_settings(): void {
}

$cookie_settings[ $new_key ] = $access_control_settings[ $old_key ];
unset( $old_access_control_settings[ $old_key ] );
unset( $access_control_settings[ $old_key ] );
}

$success = update_option( CookieSettings::get_slug(), $cookie_settings );
Expand Down

0 comments on commit b1cc675

Please sign in to comment.