Skip to content

Commit

Permalink
fix(notifications): email replies again have “Re:” in subjects
Browse files Browse the repository at this point in the history
In the merge from 1.9 I missed that this class changed from underscores
to namespaces.
  • Loading branch information
mrclay committed Jan 14, 2015
1 parent 4dfe33b commit 632c57d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/lib/comments.php
Expand Up @@ -212,10 +212,10 @@ function _elgg_comments_permissions_override($hook, $type, $return, $params) {
*/
function _elgg_comments_notification_email_subject($hook, $type, $returnvalue, $params) {

/** @var Elgg_Notifications_Notification */
/** @var Elgg\Notifications\Notification */
$notification = elgg_extract('notification', $returnvalue['params']);

if ($notification instanceof Elgg_Notifications_Notification) {
if ($notification instanceof Elgg\Notifications\Notification) {
$object = elgg_extract('object', $notification->params);

if ($object instanceof ElggComment) {
Expand Down

0 comments on commit 632c57d

Please sign in to comment.