aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-04 17:35:39 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-04 17:35:39 +0000
commitc9f0d56c2ee4a091a8424bb14a179fa58ddea2c0 (patch)
tree9df4ec647386a7e1e21598a88332c93e82edc177 /engine
parentb283e43a089a989fb5aca75eb53ca1e34c388ecb (diff)
downloadelgg-c9f0d56c2ee4a091a8424bb14a179fa58ddea2c0.tar.gz
elgg-c9f0d56c2ee4a091a8424bb14a179fa58ddea2c0.tar.bz2
Added @deprecated docblock tag to events()
git-svn-id: http://code.elgg.org/elgg/trunk@7235 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/elgglib.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index e65af1cbd..32f49ec1e 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -644,6 +644,7 @@ function register_error($error) {
* @param mixed $object Optionally, the object the event is being performed on (eg a user)
*
* @return true|false Depending on success
+ * @deprecated 1.8 Use explicit register/trigger event functions
*/
function events($event = "", $object_type = "", $function = "", $priority = 500,
$call = false, $object = null) {