aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/notification.php
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-02-04 20:55:04 -0500
committerCash Costello <cash.costello@gmail.com>2013-02-09 08:10:40 -0500
commit78e0ec583619cbb728cbe03df857c8219acaac7e (patch)
tree785ec0f364fa5f42b1bf5c82dbbf2d7d88cddf27 /engine/lib/notification.php
parentf416d7ba66000d485260a8e63962541afa248320 (diff)
downloadelgg-78e0ec583619cbb728cbe03df857c8219acaac7e.tar.gz
elgg-78e0ec583619cbb728cbe03df857c8219acaac7e.tar.bz2
simplify flow, style
Diffstat (limited to 'engine/lib/notification.php')
-rw-r--r--engine/lib/notification.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index 4191407fc..d72b1352a 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -264,7 +264,7 @@ array $params = NULL) {
$to = $to->email;
// From
- $site = get_entity($CONFIG->site_guid);
+ $site = elgg_get_site_entity();
// If there's an email address, use it - but only if its not from a user.
if (!($from instanceof ElggUser) && $from->email) {
$from = $from->email;