public function findAllDeactivated()
	{
		if ($this->user && $this->user->isInRole('root')) {
			return $this->repository->findAll()
									->where('active', '0');

		} else {
			return $this->repository->findAll()
									->where('active', '0')
									->where('role !=', 'root');
		}
	}
public function findAllDeactivated()
	{
		if ($this->user && $this->user->isInRole('root')) {
			return $this->repository->findAll()
									->where('active', '0');

		} else {
			return $this->repository->findAll()
									->where('active', '0')
									->where('role !=', 'root');
		}
	}
public function findAllDeactivated ( ) { if ( $ this -> user && $ this -> user -> isInRole ( 'root' ) ) { return $ this -> repository -> findAll ( ) -> where ( 'active' , '0' ) ; } else { return $ this -> repository -> findAll ( ) -> where ( 'active' , '0' ) -> where ( 'role !=' , 'root' ) ; } }
Return all deactivated users

@return array|Nette\Database\Table\IRow[]
Return all deactivated users