Exemple #1
0
 function deleteRepository($repoId)
 {
     $confStorage = ConfService::getConfStorageImpl();
     $res = $confStorage->deleteRepository($repoId);
     if ($res == -1) {
         return $res;
     }
     global $G_DEFAULT_REPOSITORIES, $G_REPOSITORIES;
     AJXP_Logger::logAction("Delete Repository", array("repo_id" => $repoId));
     $G_REPOSITORIES = ConfService::initRepositoriesList($G_DEFAULT_REPOSITORIES);
 }