aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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');