diff options
author | capo <capo@riseup.net> | 2013-12-16 00:12:26 +0100 |
---|---|---|
committer | capo <capo@riseup.net> | 2013-12-16 00:12:26 +0100 |
commit | e5dd9906d16d97aed7ba3511b7e1132bd4da3761 (patch) | |
tree | 79d6ff965e20c54fb498433fa1435bf92f9e64c8 /actions | |
parent | 408a27487d24938a3fa86c69a567b8666877347b (diff) | |
download | elgg-e5dd9906d16d97aed7ba3511b7e1132bd4da3761.tar.gz elgg-e5dd9906d16d97aed7ba3511b7e1132bd4da3761.tar.bz2 |
Added feature to be able to use simplepie rss module in the groups
Diffstat (limited to 'actions')
-rw-r--r-- | actions/simplepie/group_module.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/actions/simplepie/group_module.php b/actions/simplepie/group_module.php new file mode 100644 index 000000000..93fe353de --- /dev/null +++ b/actions/simplepie/group_module.php @@ -0,0 +1,8 @@ +<?php + +$group = get_entity(get_input('group_guid')); +$feed_url = get_input('feed_url'); + +if ($group && $group->canEdit()) { + $group->feed_url = $feed_url; +} |