From 940338159e67f832bc69ffb5f0fbeeaabc49c18a Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 26 Mar 2018 15:26:30 +0200 Subject: [PATCH] fixed typo --- inc/example.config.inc.php | 2 +- models/pictsharemodel.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/example.config.inc.php b/inc/example.config.inc.php index 010c49f..122e8ba 100644 --- a/inc/example.config.inc.php +++ b/inc/example.config.inc.php @@ -86,4 +86,4 @@ define('SHOW_ERRORS', false); //define('BACKBLAZE_BUCKET_NAME', ''); //define('BACKBLAZE_AUTODOWNLOAD', true); //if true, will download images from backblaze if not found local //define('BACKBLAZE_AUTOUPLOAD', true); //if true, will upload images to backblaze when they are uploaded to pictshare -//define('BACKBLAZE_AUTOUPDELETE', true); //if true, will delete images from backblaze if they are deleted from pictshare +//define('BACKBLAZE_AUTODELETE', true); //if true, will delete images from backblaze if they are deleted from pictshare diff --git a/models/pictsharemodel.php b/models/pictsharemodel.php index a5e7f77..7aaf67f 100644 --- a/models/pictsharemodel.php +++ b/models/pictsharemodel.php @@ -212,7 +212,7 @@ class PictshareModel extends Model rmdir($base_path); //delete from backblaze if configured - if(BACKBLAZE===true && BACKBLAZE_AUTOUPDELETE===true) + if(BACKBLAZE===true && BACKBLAZE_AUTODELETE===true) { $b = new Backblaze(); $b->deleteFile($hash);