Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix case sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Aug 26, 2013
1 parent 5239828 commit 7f1dbb9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 94 deletions.
90 changes: 0 additions & 90 deletions core/src/data/files/AjaXplorer-QuickStart.txt

This file was deleted.

6 changes: 3 additions & 3 deletions core/src/plugins/auth.multi/class.multiAuthDriver.php
Expand Up @@ -60,7 +60,7 @@ public function init($options){
throw new Exception("Cannot find plugin $name for type 'auth'");
}
$instance->init($options);
if($this->masterSlaveMode && $name != $this->getOption("MASTER_DRIVER")){
if($name != $this->getOption("MASTER_DRIVER")){
$this->slaveName = $name;
}
$this->drivers[$name] = $instance;
Expand Down Expand Up @@ -223,11 +223,11 @@ function listUsers($baseGroup="/"){
return array_merge($masterUsers, $slaveUsers);
}
if($this->getCurrentDriver()){
return $this->getCurrentDriver()->listUsers($baseGroup);
// return $this->getCurrentDriver()->listUsers($baseGroup);
}
$allUsers = array();
foreach($this->drivers as $driver){
$allUsers = array_merge($driver->listUsers($baseGroup));
$allUsers = array_merge($allUsers, $driver->listUsers($baseGroup));
}
return $allUsers;
}
Expand Down
4 changes: 3 additions & 1 deletion core/src/plugins/core.conf/class.AbstractConfDriver.php
Expand Up @@ -278,7 +278,9 @@ abstract function deleteBinary($context, $ID);
* @return AbstractAjxpUser
*/
function createUserObject($userId){
$abstractUser = $this->instantiateAbstractUserImpl($userId);
$userId = AuthService::filterUserSensitivity($userId);

$abstractUser = $this->instantiateAbstractUserImpl($userId);
if(!$abstractUser->storageExists()){
AuthService::updateDefaultRights($abstractUser);
}
Expand Down

0 comments on commit 7f1dbb9

Please sign in to comment.