Commit 16d34aab authored by lucha's avatar lucha

typo (uff)

parent bf71aead
Pipeline #1530 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 as $wp_piwik_options_to_delete) {
foreach ($wp_piwik_options_to_delete as $opt) {
if (get_option($opt))
delete_option($opt);
}
foreach ($opt as $wp_piwik_options_to_blank) {
foreach ($wp_piwik_options_to_blank as $opt) {
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