aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorsembrestels <sembrestels@riseup.net>2011-10-13 11:05:53 +0200
committersembrestels <sembrestels@riseup.net>2011-10-13 11:05:53 +0200
commit40dfa23115470e235b4565ce6515dfddea671c1e (patch)
treef5f6e2892fdeeedf6b97bbae267b00931284dbf5 /lib
parent036456e68fa7528990dcf647e3c2820ef3ed33bc (diff)
downloadelgg-40dfa23115470e235b4565ce6515dfddea671c1e.tar.gz
elgg-40dfa23115470e235b4565ce6515dfddea671c1e.tar.bz2
Normalized function names
Diffstat (limited to 'lib')
-rw-r--r--lib/dokuwiki.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/dokuwiki.php b/lib/dokuwiki.php
index 8084508fa..7ae95000d 100644
--- a/lib/dokuwiki.php
+++ b/lib/dokuwiki.php
@@ -34,13 +34,13 @@ function current_dokuwiki_entity($create = true) {
}
}
-function elggdoku_recurse_copy($src,$dst) {
+function dokuwiki_recurse_copy($src,$dst) {
$dir = opendir($src);
@mkdir($dst);
while(false !== ( $file = readdir($dir)) ) {
if (( $file != '.' ) && ( $file != '..' )) {
if ( is_dir($src . '/' . $file) ) {
- elggdoku_recurse_copy($src . '/' . $file,$dst . '/' . $file);
+ dokuwiki_recurse_copy($src . '/' . $file,$dst . '/' . $file);
}
else {
copy($src . '/' . $file,$dst . '/' . $file);
@@ -50,12 +50,12 @@ function elggdoku_recurse_copy($src,$dst) {
closedir($dir);
}
-function elggdokuwiki_create_datafolder($path) {
+function dokuwiki_create_datafolder($path) {
if (is_dir($path)) // if it exists must be already created
return;
mkdir($path, 0700, true);
$orig = elgg_get_plugins_path().'dokuwiki/lib/dokuwiki/data';
- elggdoku_recurse_copy($orig, $path);
+ dokuwiki_recurse_copy($orig, $path);
}