$caption) { if ($repositories[$repo_id]['authorization_method'] == 'versioncontrol_admin') { unset($repository_names[$repo_id]); } } }