From: Evan Prodromou Date: Thu, 16 Apr 2009 17:05:35 +0000 (-0400) Subject: Revert "allow snapshots to be disabled easily" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d76bb2fd115f120d799335069d6bc59203650d55;p=quix0rs-gnu-social.git Revert "allow snapshots to be disabled easily" This reverts commit 0838143d5855bb013b355d4abb7ec7a643ef37dc. Already handled with the 'never' option. --- diff --git a/lib/common.php b/lib/common.php index 37744ebd43..e64ca34da8 100644 --- a/lib/common.php +++ b/lib/common.php @@ -158,8 +158,7 @@ $config = array('subscribe' => null, 'welcome' => null), 'snapshot' => - array('enabled' => true, - 'run' => 'web', + array('run' => 'web', 'frequency' => 10000, 'reporturl' => 'http://laconi.ca/stats/report'), ); diff --git a/lib/snapshot.php b/lib/snapshot.php index 75850a301b..a014d3435f 100644 --- a/lib/snapshot.php +++ b/lib/snapshot.php @@ -73,10 +73,6 @@ class Snapshot static function check() { - if (!common_config('snapshot', 'enabled')) { - return; - } - switch (common_config('snapshot', 'run')) { case 'web': // skip if we're not running on the Web.