Revert "allow snapshots to be disabled easily"

This reverts commit 0838143d58.

Already handled with the 'never' option.
This commit is contained in:
Evan Prodromou 2009-04-16 13:05:35 -04:00
parent ca5753255f
commit d76bb2fd11
2 changed files with 1 additions and 6 deletions

View File

@ -158,8 +158,7 @@ $config =
array('subscribe' => null, array('subscribe' => null,
'welcome' => null), 'welcome' => null),
'snapshot' => 'snapshot' =>
array('enabled' => true, array('run' => 'web',
'run' => 'web',
'frequency' => 10000, 'frequency' => 10000,
'reporturl' => 'http://laconi.ca/stats/report'), 'reporturl' => 'http://laconi.ca/stats/report'),
); );

View File

@ -73,10 +73,6 @@ class Snapshot
static function check() static function check()
{ {
if (!common_config('snapshot', 'enabled')) {
return;
}
switch (common_config('snapshot', 'run')) { switch (common_config('snapshot', 'run')) {
case 'web': case 'web':
// skip if we're not running on the Web. // skip if we're not running on the Web.