Permalink
Browse files

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

… search box
  • Loading branch information...
nread authored and danpoltawski committed May 17, 2012
1 parent 1b4e7fb commit 205f169edfce81ba0beb1f624b7d76e12cbd9a27
Showing with 3 additions and 0 deletions.
  1. +3 −0 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.