change sudo to protected to allow to reuse it

This commit is contained in:
Ralf Becker 2010-05-15 20:43:26 +00:00
parent 6bc7e1a6d3
commit 8bcbb0cc81

View File

@ -51,7 +51,7 @@ class filemanager_ui
* @param string $user='' setup config user to become root or '' to log off as root
* @param string $password=null setup config password to become root
*/
private function sudo($user='',$password=null)
protected function sudo($user='',$password=null)
{
if (!$user)
{