diff --git a/protected/humhub/components/ModuleManager.php b/protected/humhub/components/ModuleManager.php index 831f3f21e1..b959ec57f3 100644 --- a/protected/humhub/components/ModuleManager.php +++ b/protected/humhub/components/ModuleManager.php @@ -295,7 +295,7 @@ class ModuleManager extends \yii\base\Component $backupFolderName = $moduleBackupFolder . DIRECTORY_SEPARATOR . $moduleId . "_" . time(); if (!@rename($module->getBasePath(), $backupFolderName)) { - throw new Exception("Could not remove module folder!" . $backupFolderName); + throw new Exception("Could not move module to backup folder!" . $backupFolderName); } } else { //TODO: Delete directory