* Improve codes format.

This commit is contained in:
wangjianhua
2022-10-11 17:27:57 +08:00
parent baee149721
commit 9cee91d4fe
+1 -4
View File
@@ -396,10 +396,7 @@ class repoModel extends model
foreach($repos as $repo)
{
$repo->acl = json_decode($repo->acl);
if($this->checkPriv($repo))
{
$repoPairs[$repo->id] = $repo->name;
}
if($this->checkPriv($repo)) $repoPairs[$repo->id] = $repo->name;
}
return $repoPairs;