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

Commit

Permalink
Let the admin do the work
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Aug 4, 2014
1 parent b98a5eb commit 367b1d7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions dist/php/5.3.2.php
Expand Up @@ -5,10 +5,4 @@
rename(AJXP_INSTALL_PATH."/conf/bootstrap_repositories.php".".new-".date("Ymd"), AJXP_INSTALL_PATH."/conf/bootstrap_repositories.php");
}

echo "The bootstrap_repositories files was replaced by the new version, the .pre-update version is kept.";

$root_role = AuthService::getRole("ROOT_ROLE");
if($root_role !== false){
$root_role->setParameterValue("core.conf", "DEFAULT_START_REPOSITORY", "ajxp_home");
AuthService::updateRole($root_role);
}
echo "The bootstrap_repositories files was replaced by the new version, the .pre-update version is kept.";

0 comments on commit 367b1d7

Please sign in to comment.