mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
"MDL-16908, remove search and logout button"
This commit is contained in:
parent
ecc3137831
commit
b2b3fd82cd
@ -50,7 +50,7 @@ class repository_webdav extends repository {
|
||||
$buffer = '';
|
||||
$this->wd->open();
|
||||
$this->wd->get($url, $buffer);
|
||||
$fp = fopen($dir.$file, 'w');
|
||||
$fp = fopen($dir.$file, 'wb');
|
||||
fwrite($fp, $buffer);
|
||||
return $dir.$file;
|
||||
}
|
||||
@ -63,6 +63,8 @@ class repository_webdav extends repository {
|
||||
$ret = array();
|
||||
$ret['dynload'] = true;
|
||||
$ret['list'] = array();
|
||||
$ret['nosearch'] = true;
|
||||
$ret['nologin'] = true;
|
||||
$ret['path'] = array(array('name'=>'Root', 'path'=>0));
|
||||
$this->wd->open();
|
||||
if (empty($path)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user