Commit bf71aead authored by lucha's avatar lucha

typo

parent 2ab91ecb
Pipeline #1529 passed with stages
in 1 minute
......@@ -23,11 +23,11 @@ function do_wp_piwik_clear_config($args){
switch_to_blog($blog->blog_id);
echo "Clearing options for wp-piwik for blog {$arg}\n";
foreach ($opt in $wp_piwik_options_to_delete) {
foreach ($opt as $wp_piwik_options_to_delete) {
if (get_option($opt))
delete_option($opt);
}
foreach ($opt in $wp_piwik_options_to_blank) {
foreach ($opt as $wp_piwik_options_to_blank) {
update_option($opt,'');
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment