aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2010-07-04 19:39:29 +0000
committercash <cash.costello@gmail.com>2010-07-04 19:39:29 +0000
commit16da0ce0f606397012c65950b07262fbecb2fc84 (patch)
tree4d504a62f679c3b0d307e95ca8d7a91634215afa /start.php
parent14025a5462c77d841801e00b2eda993bba62264d (diff)
downloadelgg-16da0ce0f606397012c65950b07262fbecb2fc84.tar.gz
elgg-16da0ce0f606397012c65950b07262fbecb2fc84.tar.bz2
brought the simplepie plugin up to Elgg coding standards
Diffstat (limited to 'start.php')
-rw-r--r--start.php29
1 files changed, 14 insertions, 15 deletions
diff --git a/start.php b/start.php
index 5f138ff4d..538c5625c 100644
--- a/start.php
+++ b/start.php
@@ -1,17 +1,16 @@
<?php
- /**
- * Simplepie Plugin
- *
- * Loads the simplepie feed parser library
- **/
-
- function simplepie_init()
- {
- add_widget_type('feed_reader', elgg_echo('simplepie:widget'), elgg_echo('simplepie:description'));
-
- extend_view('css','feed_reader/css');
- }
-
- register_elgg_event_handler('plugins_boot', 'system', 'simplepie_init');
-?>
+/**
+* Simplepie Plugin
+*
+* Loads the simplepie feed parser library and provides a widget
+**/
+
+function simplepie_init() {
+ add_widget_type('feed_reader', elgg_echo('simplepie:widget'), elgg_echo('simplepie:description'));
+
+ extend_view('css','feed_reader/css');
+}
+
+register_elgg_event_handler('plugins_boot', 'system', 'simplepie_init');
+