Browse Source

Change unlink to git rm

pull/24/head
Teknikode 8 years ago
parent
commit
f43f907e25
  1. 2
      includes/update_profile.php

2
includes/update_profile.php

@ -140,7 +140,7 @@ if(isset($_POST)) @@ -140,7 +140,7 @@ if(isset($_POST))
if (is_dir($CONF['git_repo_path'][0].'gitolite-admin\\keydir\\u\\'.$user->username))
{
$repo->run('rm -r keydir\\u\\'.$user->username);
$repo->run('rm -r keydir/u/'.$user->username);
}
else
{

Loading…
Cancel
Save