Skip to content

Commit

Permalink
Remove unused 'change_notifications_enable' options check.
Browse files Browse the repository at this point in the history
  • Loading branch information
raamdev committed Dec 24, 2013
1 parent d2f9697 commit 62bce3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quick-cache/quick-cache.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ public function auto_wipe_cache()

$counter = $this->wipe_cache();

if($counter && $this->options['change_notifications_enable'] && is_admin())
if($counter && is_admin()) // Change notifications cannot be turned off in the lite version.
{
$notices = (is_array($notices = get_option(__NAMESPACE__.'_notices'))) ? $notices : array();
$notices[] = '<img src="'.esc_attr($this->url('/client-s/images/wipe.png')).'" style="float:left; margin:0 10px 0 0; border:0;" />'.
Expand Down

0 comments on commit 62bce3a

Please sign in to comment.