Skip to content
Browse files

MDL-32117 EQUELLA plugin: Turn off the login, refresh buttons and the…

… search box
  • Loading branch information...
1 parent 1b4e7fb commit 205f169edfce81ba0beb1f624b7d76e12cbd9a27 @nickread nickread committed with danpoltawski
Showing with 3 additions and 0 deletions.
  1. +3 −0 repository/equella/lib.php
View
3 repository/equella/lib.php
@@ -77,6 +77,9 @@ public function get_listing($path = null, $page = null) {
$list['object'] = array();
$list['object']['type'] = 'text/html';
$list['object']['src'] = $url;
+ $list['nologin'] = true;
+ $list['nosearch'] = true;
+ $list['norefresh'] = true;
return $list;
}

0 comments on commit 205f169

Please sign in to comment.
Something went wrong with that request. Please try again.