/** * Returns the list of all the users login * * @return array the list of all the users login */ public function getUsersLogin() { Piwik::checkUserHasSomeAdminAccess(); $logins = $this->model->getUsersLogin(); $logins = $this->userFilter->filterLogins($logins); return $logins; }
/** * Returns the list of all the users login * * @return array the list of all the users login */ public function getUsersLogin() { Piwik::checkUserHasSomeAdminAccess(); return $this->model->getUsersLogin(); }
public function test_getAllLogins_shouldBeUpToDate() { $this->assertSame($this->model->getUsersLogin(), $this->getAllLogins()); $this->assertNotEmpty($this->getAllLogins()); }