Revert "allow snapshots to be disabled easily"
This reverts commit 0838143d58
.
Already handled with the 'never' option.
This commit is contained in:
parent
ca5753255f
commit
d76bb2fd11
|
@ -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'),
|
||||
);
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user