diff options
author | Steve Clay <steve@mrclay.org> | 2013-02-04 20:55:04 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-02-09 08:10:40 -0500 |
commit | 78e0ec583619cbb728cbe03df857c8219acaac7e (patch) | |
tree | 785ec0f364fa5f42b1bf5c82dbbf2d7d88cddf27 /engine/lib/notification.php | |
parent | f416d7ba66000d485260a8e63962541afa248320 (diff) | |
download | elgg-78e0ec583619cbb728cbe03df857c8219acaac7e.tar.gz elgg-78e0ec583619cbb728cbe03df857c8219acaac7e.tar.bz2 |
simplify flow, style
Diffstat (limited to 'engine/lib/notification.php')
-rw-r--r-- | engine/lib/notification.php | 2 |
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; |