diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/views.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/views.py b/packages/views.py index 39566717..867bf0fb 100644 --- a/packages/views.py +++ b/packages/views.py @@ -176,9 +176,6 @@ def flag(request, pkgid): @login_required def unflag(request, pkgid): pkg = get_object_or_404(Package, id=pkgid) - if pkg.maintainer_id == 0 or \ - pkg.maintainer.username != request.user.username: - return render_response(request, 'error_page.html', {'errmsg': 'You do not own this package.'}) pkg.needupdate = 0 pkg.save() return HttpResponseRedirect('/packages/%d/' % (pkg.id)) |