add public static
This commit is contained in:
parent
e40afbebc6
commit
6d95436695
|
@ -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)) ) {
|
||||
|
|
Loading…
Reference in New Issue