summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-05-07 01:48:06 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-05-07 01:48:06 +0000
commit89ae34de471b44f427d8b94d2c1a645095a302b2 (patch)
treebbba7bef49153c1eccde01622ba5d7fbae6c295a /includes
parentcf6e9aa509daec3eb610f6175106092198331a3a (diff)
downloadbrdo-89ae34de471b44f427d8b94d2c1a645095a302b2.tar.gz
brdo-89ae34de471b44f427d8b94d2c1a645095a302b2.tar.bz2
- #19621: More sensible status messages for forum admin ("created forum" instead of "created term").
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc
index f279fe384..61be3f5a1 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -10,6 +10,21 @@
*/
/**
+ * Return status for saving which involved creating a new item.
+ */
+define('SAVED_NEW', 1);
+
+/**
+ * Return status for saving which involved an update to an existing item.
+ */
+define('SAVED_UPDATED', 2);
+
+/**
+ * Return status for saving which deleted an existing item.
+ */
+define('SAVED_DELETED', 3);
+
+/**
* Set the breadcrumb trail for the current page.
*
* @param $breadcrumb