fixed typo

This commit is contained in:
Chris
2018-03-26 15:26:30 +02:00
parent 27a65d4c59
commit 940338159e
2 changed files with 2 additions and 2 deletions

View File

@@ -86,4 +86,4 @@ define('SHOW_ERRORS', false);
//define('BACKBLAZE_BUCKET_NAME', ''); //define('BACKBLAZE_BUCKET_NAME', '');
//define('BACKBLAZE_AUTODOWNLOAD', true); //if true, will download images from backblaze if not found local //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_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

View File

@@ -212,7 +212,7 @@ class PictshareModel extends Model
rmdir($base_path); rmdir($base_path);
//delete from backblaze if configured //delete from backblaze if configured
if(BACKBLAZE===true && BACKBLAZE_AUTOUPDELETE===true) if(BACKBLAZE===true && BACKBLAZE_AUTODELETE===true)
{ {
$b = new Backblaze(); $b = new Backblaze();
$b->deleteFile($hash); $b->deleteFile($hash);