chore: remove cloud storage remainings (#1934)

This commit is contained in:
Jonas L 2022-07-04 22:09:14 +02:00 committed by GitHub
parent 0e6b0da142
commit 703a8e5856
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 50 additions and 3571 deletions

View file

@ -465,7 +465,6 @@ class PreferenceController extends Zend_Controller_Action
}
$this->deleteFutureScheduleItems();
$this->deleteCloudFiles();
$this->deleteStoredFiles();
$this->getResponse()
@ -499,20 +498,6 @@ class PreferenceController extends Zend_Controller_Action
}
}
private function deleteCloudFiles()
{
try {
$CC_CONFIG = Config::getConfig();
foreach ($CC_CONFIG['supportedStorageBackends'] as $storageBackend) {
$proxyStorageBackend = new ProxyStorageBackend($storageBackend);
$proxyStorageBackend->deleteAllCloudFileObjects();
}
} catch (Exception $e) {
Logging::info($e->getMessage());
}
}
private function deleteStoredFiles()
{
// Delete all files from the database