diff options
author | Kate Butler <kate@innocraft.com> | 2019-12-23 00:21:28 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2019-12-23 00:21:28 +0300 |
commit | 954f6ce2936818e35cc80083526e9ffbe6ea58c6 (patch) | |
tree | b49bf1708fd3d307ef86bd346ecb7eb0366181f6 /plugins/CorePluginsAdmin | |
parent | a9a94e937b5faec70e5388c527517ac8dd531fa2 (diff) |
Prevent race conditions when updating plugin settings (#15249)
Diffstat (limited to 'plugins/CorePluginsAdmin')
-rw-r--r-- | plugins/CorePluginsAdmin/Model/TagManagerTeaser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CorePluginsAdmin/Model/TagManagerTeaser.php b/plugins/CorePluginsAdmin/Model/TagManagerTeaser.php index 54fdb1e9b1..9eb4a5ff8d 100644 --- a/plugins/CorePluginsAdmin/Model/TagManagerTeaser.php +++ b/plugins/CorePluginsAdmin/Model/TagManagerTeaser.php @@ -68,7 +68,7 @@ class TagManagerTeaser Option::delete(self::DISABLE_GLOBALLY_KEY); // no need to keep any old login entries - $this->getTable()->save(array()); + $this->getTable()->delete(); } public function isEnabledGlobally() |