Skip to content
Snippets Groups Projects
Commit 6d954366 authored by Frank Karlitschek's avatar Frank Karlitschek
Browse files

add public static

parent e40afbeb
No related branches found
No related tags found
No related merge requests found
......@@ -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)) ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment