Version 5.0.6
This commit is contained in:
1 parent
a3a4a9ccbd
commit
b89858b2ff
1214 files changed
+92828
-14859
No files matched your search
@@ -15,6 +15,7 @@ namespace IPS\core\tasks;
|
||||
use IPS\Db;
|
||||
use IPS\File;
|
||||
use IPS\File\Amazon;
|
||||
use IPS\File\Backblaze;
|
||||
use IPS\Task;
|
||||
use IPS\Task\Exception;
|
||||
use UnderflowException;
|
||||
@@ -51,7 +52,7 @@ class s3Delete extends Task
|
||||
|
||||
$obj = File::getClass('core_Theme');
|
||||
|
||||
if ( !( $obj instanceof Amazon ) )
|
||||
if ( !( $obj instanceof Amazon ) OR ( $obj instanceof Backblaze ) )
|
||||
{
|
||||
/* Class is not Amazon, so just stop here and truncate the table as there's nothing we can really do now. */
|
||||
Db::i()->delete( 'core_s3_deletions' );
|
||||
|
||||
Reference in new issue
Block a user