diff options
author | sembrestels <sembrestels@riseup.net> | 2011-10-13 11:05:53 +0200 |
---|---|---|
committer | sembrestels <sembrestels@riseup.net> | 2011-10-13 11:05:53 +0200 |
commit | 40dfa23115470e235b4565ce6515dfddea671c1e (patch) | |
tree | f5f6e2892fdeeedf6b97bbae267b00931284dbf5 /start.php | |
parent | 036456e68fa7528990dcf647e3c2820ef3ed33bc (diff) | |
download | elgg-40dfa23115470e235b4565ce6515dfddea671c1e.tar.gz elgg-40dfa23115470e235b4565ce6515dfddea671c1e.tar.bz2 |
Normalized function names
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -16,8 +16,8 @@ function dokuwiki_init(){ elgg_register_library('elgg:dokuwiki', elgg_get_plugins_path().'dokuwiki/lib/dokuwiki.php'); elgg_register_entity_type('object','dokuwiki'); - elgg_register_plugin_hook_handler('entity:icon:url', 'object', 'elggdokuwiki_icon_hook'); - elgg_register_entity_url_handler('object', 'dokuwiki', 'elggdokuwiki_url'); + elgg_register_plugin_hook_handler('entity:icon:url', 'object', 'dokuwiki_icon_hook'); + elgg_register_entity_url_handler('object', 'dokuwiki', 'dokuwiki_url'); // add block link to elgg_register_plugin_hook_handler('register', 'menu:owner_block', 'dokuwiki_owner_block_menu'); @@ -102,7 +102,7 @@ function dokuwiki_init(){ define('DOKU_MEDIA', elgg_get_site_url().'mod/dokuwiki/lib/dokuwiki/'); define('DOKU_CONF', $dokuwiki_path."conf/"); - elggdokuwiki_create_datafolder($data_path); + dokuwiki_create_datafolder($data_path); define('DOKU_ELGGDATA',$data_path); if (empty($page) || (count($page)==1 && $page[0] == 'acl')) { $page = array('doku.php'); @@ -153,7 +153,7 @@ function dokuwiki_init(){ return $return; } - function elggdokuwiki_icon_hook($hook, $entity_type, $returnvalue, $params) { + function dokuwiki_icon_hook($hook, $entity_type, $returnvalue, $params) { if ($hook == 'entity:icon:url' && $params['entity']->getSubtype() == 'dokuwiki') { $owner = get_entity($params['entity']->container_guid); if ($owner) @@ -162,7 +162,7 @@ function dokuwiki_init(){ return $returnvalue; } - function elggdokuwiki_url($entity) { + function dokuwiki_url($entity) { return elgg_get_site_url() . "dokuwiki/".$entity->container_guid; } |