Commit af281fa5 authored by Erick Hitter's avatar Erick Hitter
Browse files

Remove recursion introduced by ddf19012

parent 67287655
......@@ -501,11 +501,6 @@ class Events extends Singleton {
return false;
}
// Nothing to do, but `update_option()` will return false
if ( $new_status === $this->run_disabled() ) {
return false;
}
return update_option( self::DISABLE_RUN_OPTION, $new_status );
}
}
......
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