aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'start.php')
-rw-r--r--start.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/start.php b/start.php
index abf285f7e..cc7299bfc 100644
--- a/start.php
+++ b/start.php
@@ -40,7 +40,8 @@
register_entity_type('object','image');
register_entity_type('object','album');
- add_group_tool_option('photos',elgg_echo('tidypics:enablephotos'),true);
+ if (function_exists('add_group_tool_option'))
+ add_group_tool_option('photos',elgg_echo('tidypics:enablephotos'),true);
register_plugin_hook('permissions_check', 'object', 'tidypics_permission_override');