aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-03-28 19:27:11 +0000
committerCash Costello <cash.costello@gmail.com>2009-03-28 19:27:11 +0000
commitdd2256c12a2d9a74fc4023ec37d2dcf0443b31c7 (patch)
tree61ed640175d340d7b62f74bf283594e1cb2abc14 /start.php
parent655bc813115b65cb9caf8913cf8b6891b00cedb9 (diff)
downloadelgg-dd2256c12a2d9a74fc4023ec37d2dcf0443b31c7.tar.gz
elgg-dd2256c12a2d9a74fc4023ec37d2dcf0443b31c7.tar.bz2
fix for people running Elgg 1.2
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');