From dd2256c12a2d9a74fc4023ec37d2dcf0443b31c7 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 28 Mar 2009 19:27:11 +0000 Subject: fix for people running Elgg 1.2 --- start.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'start.php') 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'); -- cgit v1.2.3