add public static
This commit is contained in:
parent
e40afbebc6
commit
6d95436695
|
@ -109,7 +109,7 @@ class OC_Util {
|
||||||
* @param string $target
|
* @param string $target
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function copyr($source,$target) {
|
public static function copyr($source,$target) {
|
||||||
$dir = opendir($source);
|
$dir = opendir($source);
|
||||||
@mkdir($target);
|
@mkdir($target);
|
||||||
while(false !== ( $file = readdir($dir)) ) {
|
while(false !== ( $file = readdir($dir)) ) {
|
||||||
|
|
Loading…
Reference in New Issue