summaryrefslogtreecommitdiff
path: root/lib/snapshot.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-16 13:05:35 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-04-16 13:05:35 -0400
commitd76bb2fd115f120d799335069d6bc59203650d55 (patch)
tree73d89553f7f28feae507f9210b49ca977d57f74e /lib/snapshot.php
parentca5753255f19a9a584b9a68a190a5901f79375ce (diff)
Revert "allow snapshots to be disabled easily"
This reverts commit 0838143d5855bb013b355d4abb7ec7a643ef37dc. Already handled with the 'never' option.
Diffstat (limited to 'lib/snapshot.php')
-rw-r--r--lib/snapshot.php4
1 files changed, 0 insertions, 4 deletions
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.