mirror of
https://github.com/humhub/humhub.git
synced 2025-01-18 06:38:14 +01:00
Fixed #1664: Misleading error message on module uninstall
This commit is contained in:
parent
39112b860a
commit
73279be477
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user