From: friendica Date: Sun, 29 Apr 2012 00:53:19 +0000 (-0700) Subject: some constants for the db update failure possibilities X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=356bd9b04ad5378b19d4aa8b25ccab178491df34;p=friendica.git some constants for the db update failure possibilities --- diff --git a/boot.php b/boot.php index 7564615a5d..cfdadcd19b 100644 --- a/boot.php +++ b/boot.php @@ -73,6 +73,14 @@ define ( 'HOOK_HOOK', 0); define ( 'HOOK_FILE', 1); define ( 'HOOK_FUNCTION', 2); +/** + * DB update return values + */ + +define ( 'UPDATE_SUCCESS', 0); +define ( 'UPDATE_FAILED', 1); + + /** * * page/profile types