Commit
commit 0b2eed85b7ce29cb47f184b85de0b61b2969b9cd Author: Jan DankertDate: Sun Mar 14 23:51:49 2021 +0100 Refactoring: Using the ValidationException where possible. modules/cms/Dispatcher.class.php | 8 ++-- modules/cms/action/Action.class.php | 51 ++++++++++---------- .../cms/action/file/FileCompressAction.class.php | 5 +- .../cms/action/file/FileExtractAction.class.php | 2 +- .../cms/action/file/FileUncompressAction.class.php | 2 +- .../action/folder/FolderAdvancedAction.class.php | 10 ++-- .../action/folder/FolderCreatefileAction.class.php | 5 +- .../folder/FolderCreateimageAction.class.php | 5 +- .../action/grouplist/GrouplistAddAction.class.php | 17 +++---- modules/cms/action/image/ImageSizeAction.class.php | 6 +-- .../cms/action/login/LoginLoginAction.class.php | 56 +++++++--------------- .../action/login/LoginPasswordcodeAction.class.php | 8 ++-- .../action/login/LoginRegistercodeAction.class.php | 8 +--- .../action/object/ObjectAclformAction.class.php | 20 ++------ .../pageelement/PageelementDiffAction.class.php | 9 ++-- .../cms/action/profile/ProfileEditAction.class.php | 15 ++---- .../cms/action/profile/ProfilePwAction.class.php | 45 ++++++++--------- .../action/project/ProjectAdvancedAction.class.php | 3 +- .../cms/action/project/ProjectPropAction.class.php | 40 +++++++--------- modules/cms/ui/UI.class.php | 2 +- modules/language/Language_CN.class.php | 2 +- modules/language/Language_DE.class.php | 2 +- modules/language/Language_EN.class.php | 2 +- modules/language/Language_ES.class.php | 2 +- modules/language/Language_FR.class.php | 2 +- modules/language/Language_IT.class.php | 2 +- modules/language/Language_RU.class.php | 2 +- modules/language/Messages.class.php | 2 +- modules/language/language.yml | 2 +- modules/util/exception/UIException.class.php | 7 ++- .../util/exception/ValidationException.class.php | 4 +- 31 files changed, 142 insertions(+), 204 deletions(-)