summaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2013-10-04 09:24:07 +0200
committerFrank Karlitschek <frank@owncloud.org>2013-10-04 09:24:07 +0200
commit6d954366950c57a8d999a652a7c1b22b95659ee3 (patch)
tree455d53a05792d17c1cd4425e84922950cf1532ec /lib/private/util.php
parente40afbebc64547219e88dc0045d6a04cd06e76f8 (diff)
downloadnextcloud-server-6d954366950c57a8d999a652a7c1b22b95659ee3.tar.gz
nextcloud-server-6d954366950c57a8d999a652a7c1b22b95659ee3.zip
add public static
Diffstat (limited to 'lib/private/util.php')
-rwxr-xr-xlib/private/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 004e82d7d26..d5c44795e10 100755
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -109,7 +109,7 @@ class OC_Util {
* @param string $target
* @return void
*/
- function copyr($source,$target) {
+ public static function copyr($source,$target) {
$dir = opendir($source);
@mkdir($target);
while(false !== ( $file = readdir($dir)) ) {