diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-03-28 19:27:11 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-03-28 19:27:11 +0000 |
commit | dd2256c12a2d9a74fc4023ec37d2dcf0443b31c7 (patch) | |
tree | 61ed640175d340d7b62f74bf283594e1cb2abc14 /start.php | |
parent | 655bc813115b65cb9caf8913cf8b6891b00cedb9 (diff) | |
download | elgg-dd2256c12a2d9a74fc4023ec37d2dcf0443b31c7.tar.gz elgg-dd2256c12a2d9a74fc4023ec37d2dcf0443b31c7.tar.bz2 |
fix for people running Elgg 1.2
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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');
|