diff options
author | James Moger <james.moger@gitblit.com> | 2014-09-08 18:06:46 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-09-08 18:06:46 -0400 |
commit | 871ea2592a9798aa078b19ba37cd6a87990e1712 (patch) | |
tree | 3dab833eefe1b336271417f70398936584fe4f44 /src | |
parent | 9f84ef0ea05076b3f063837dc8c241fcf6b6104b (diff) | |
parent | c599bd17342d7019c68cd6dbea48c0b27efebd38 (diff) | |
download | gitblit-871ea2592a9798aa078b19ba37cd6a87990e1712.tar.gz gitblit-871ea2592a9798aa078b19ba37cd6a87990e1712.zip |
Merge branch 'ticket/174' into develop
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java b/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java index b5c46ac2..318b2b72 100644 --- a/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java +++ b/src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java @@ -681,7 +681,7 @@ public class EditRepositoryPage extends RootSubPage { RepositoryModel latestModel = app().repositories().getRepositoryModel(repositoryModel.name);
boolean canDelete = app().repositories().canDelete(latestModel);
if (canDelete) {
- if (app().repositories().deleteRepositoryModel(latestModel)) {
+ if (app().gitblit().deleteRepositoryModel(latestModel)) {
info(MessageFormat.format(getString("gb.repositoryDeleted"), latestModel));
if (latestModel.isPersonalRepository()) {
// redirect to user's profile page
|