From 1fe4012bb6800384fb387a3915da5ab0e365008b Mon Sep 17 00:00:00 2001 From: Patrick Barnhardt Date: Tue, 19 Mar 2024 22:19:41 -0400 Subject: [PATCH] Update constants.php remove currently unused error codes. --- includes/constants.php | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/includes/constants.php b/includes/constants.php index 3a8194e4..f1d0b7f1 100644 --- a/includes/constants.php +++ b/includes/constants.php @@ -356,30 +356,10 @@ "code" => "MYSTIC", "message" => "An error has occurred, contact the Administrator." )); -define('SUDDEN_ERROR', array( - "code" => "COBRA", - "message" => "An error has occurred, contact the Administrator." -)); -define('TIMEOUT', array( - "code" => "TURTLE", - "message" => "The request has timed out, contact the Administrator." -)); -define('RESTART', array( - "code" => "PHOENIX", - "message" => "There may have been a server restart or recovery, contact the Administrator." -)); define('NOT_FOUND', array( "code" => "SASQUATCH", "message" => "The requested content was not found, contact the Administrator." )); -define('NOT_IMPLEMENTED', array( - "code" => "YETI", - "message" => "The requested content is not yet implemented, contact the Administrator." -)); -define('SERVICE_UNAVAILABLE', array( - "code" => "COMPASS", - "message" => "The requested content is not available, contact the Administrator." -)); define('CRITICAL', array( "code" => "MONOLITH", "message" => "A critical error has occurred, contact the Administrator." @@ -408,14 +388,6 @@ "code" => "WEASEL", "message" => "Required data is missing, contact the Administrator." )); -define('FILE_UPLOAD_ERROR', array( - "code" => "CYMBAL", - "message" => "File could not be uploaded, contact the Administrator." -)); -define('FILE_DELETE_ERROR', array( - "code" => "COWBELL", - "message" => "File could not be deleted, contact the Administrator." -)); define('FILE_EXISTS_ERROR', array( "code" => "HARMONY", "message" => "File already exists, contact the Administrator."