add public static

This commit is contained in:
Frank Karlitschek 2013-10-04 09:24:07 +02:00
parent e40afbebc6
commit 6d95436695
1 changed files with 1 additions and 1 deletions

View File

@ -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)) ) {