Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
Issue callback upon community creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Grauer committed Mar 6, 2015
1 parent fcc19a1 commit bd297d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/models/base/CommunityModelBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public function createCommunity($name, $description, $privacy, $user, $canJoin =
$feedpolicygroupModel->createPolicy($anonymousGroup, $feed, MIDAS_POLICY_READ);
}
}

Zend_Registry::get('notifier')->callback('CALLBACK_CORE_NEW_COMMUNITY_ADDED', array('community' => $communityDao));

This comment has been minimized.

Copy link
@jamiesnape

jamiesnape Mar 6, 2015

Contributor

The (totally unpublished and unknown to anyone except me) style guide says add a line break before the return statement. Which reminds me to actually put a link in the developer documentation to the PHP Standard Recommendations.

Zend_Registry ....

return ....
return $communityDao;
}

Expand Down

1 comment on commit bd297d8

@mgrauer
Copy link
Contributor

@mgrauer mgrauer commented on bd297d8 Mar 6, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jamiesnape . I'll push a fix.

Please sign in to comment.