mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
"MDL-13766, print_login should not be an abstract function"
This commit is contained in:
parent
1b2a278392
commit
1d66f2b20e
@ -831,7 +831,6 @@ abstract class repository {
|
||||
*
|
||||
* @param string $parent The parent path, this parameter can
|
||||
* a folder name, or a identification of folder
|
||||
* @param string $search The text will be searched.
|
||||
* @return array the list of files, including meta infomation
|
||||
*/
|
||||
abstract public function get_listing($parent = '/');
|
||||
@ -873,7 +872,9 @@ abstract class repository {
|
||||
* Show the login screen, if required
|
||||
* This is an abstract function, it must be overriden.
|
||||
*/
|
||||
abstract public function print_login();
|
||||
public function print_login(){
|
||||
return $this->get_listing();
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the search screen, if required
|
||||
|
Loading…
x
Reference in New Issue
Block a user