diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-04-16 13:05:35 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-04-16 13:05:35 -0400 |
commit | d76bb2fd115f120d799335069d6bc59203650d55 (patch) | |
tree | 73d89553f7f28feae507f9210b49ca977d57f74e /lib | |
parent | ca5753255f19a9a584b9a68a190a5901f79375ce (diff) |
Revert "allow snapshots to be disabled easily"
This reverts commit 0838143d5855bb013b355d4abb7ec7a643ef37dc.
Already handled with the 'never' option.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common.php | 3 | ||||
-rw-r--r-- | lib/snapshot.php | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/lib/common.php b/lib/common.php index 37744ebd4..e64ca34da 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 75850a301..a014d3435 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. |