Version 4.7.23
This commit is contained in:
1 parent
7124a02564
commit
25ddeb65d6
1791 files changed
+76990
-44452
No files matched your search
@@ -18,7 +18,7 @@ if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
}
|
||||
|
||||
/**
|
||||
* s3_delete Task
|
||||
* s3Delete Task
|
||||
*/
|
||||
class _s3Delete extends \IPS\Task
|
||||
{
|
||||
@@ -45,7 +45,7 @@ class _s3Delete extends \IPS\Task
|
||||
{
|
||||
/* Class is not Amazon, so just stop here and truncate the table as there's nothing we can really do now. */
|
||||
\IPS\Db::i()->delete( 'core_s3_deletions' );
|
||||
\IPS\Db::i()->update( 'core_tasks', array( 'enabled' => 0 ), array( '`key`=?', 's3_delete' ) );
|
||||
\IPS\Db::i()->update( 'core_tasks', array( 'enabled' => 0 ), array( '`key`=?', 's3Delete' ) );
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ class _s3Delete extends \IPS\Task
|
||||
catch( \UnderflowException $ex )
|
||||
{
|
||||
/* Nothing to do, so switch off the task */
|
||||
\IPS\Db::i()->update( 'core_tasks', array( 'enabled' => 0 ), array( '`key`=?', 's3_delete' ) );
|
||||
\IPS\Db::i()->update( 'core_tasks', array( 'enabled' => 0 ), array( '`key`=?', 's3Delete' ) );
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
||||
Reference in new issue
Block a user