public function checkAdminStatus($varValue, Contao\DataContainer $dc)
	{
		if ($varValue == '' && $this->User->id == $dc->id)
		{
			$varValue = 1;
		}

		return $varValue;
	}
public function checkAdminStatus($varValue, Contao\DataContainer $dc)
	{
		if ($varValue == '' && $this->User->id == $dc->id)
		{
			$varValue = 1;
		}

		return $varValue;
	}
public function checkAdminStatus ( $ varValue , Contao \ DataContainer $ dc ) { if ( $ varValue == '' && $ this -> User -> id == $ dc -> id ) { $ varValue = 1 ; } return $ varValue ; }
Prevent administrators from downgrading their own account

@param mixed                $varValue
@param Contao\DataContainer $dc

@return mixed
Prevent administrators from downgrading their own account