some constants for the db update failure possibilities

This commit is contained in:
friendica 2012-04-28 17:53:19 -07:00
parent 7919d00399
commit 356bd9b04a

View file

@ -73,6 +73,14 @@ define ( 'HOOK_HOOK', 0);
define ( 'HOOK_FILE', 1); define ( 'HOOK_FILE', 1);
define ( 'HOOK_FUNCTION', 2); define ( 'HOOK_FUNCTION', 2);
/**
* DB update return values
*/
define ( 'UPDATE_SUCCESS', 0);
define ( 'UPDATE_FAILED', 1);
/** /**
* *
* page/profile types * page/profile types