aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-22 14:04:19 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-22 14:04:19 +0000
commit3e5c121333422e489c24bc775bb1c62753e361a8 (patch)
treee45b8c777165d87e83f7f4b6a152d1108a93a8ba
parent07a6c7e45eb742081cb0587352e6670dad07bce0 (diff)
downloadelgg-3e5c121333422e489c24bc775bb1c62753e361a8.tar.gz
elgg-3e5c121333422e489c24bc775bb1c62753e361a8.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Clarification: Trigger event can only be passed a context related to a ElggEntity git-svn-id: https://code.elgg.org/elgg/trunk@681 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 57b8c71c8..acffe923d 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -677,7 +677,7 @@
* @param string $function The function name
* @return true|false Depending on success
*/
- function trigger_event($event, $object_type, $object = null) {
+ function trigger_event($event, $object_type, ElggEntity $object = null) {
$return = true;
$return1 = events($event, $object_type, "", null, true, $object);