summaryrefslogtreecommitdiff
path: root/lib/snapshot.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/snapshot.php')
-rw-r--r--lib/snapshot.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/snapshot.php b/lib/snapshot.php
index a014d3435..75850a301 100644
--- a/lib/snapshot.php
+++ b/lib/snapshot.php
@@ -73,6 +73,10 @@ 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.