Commit efb9d156 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Remove the controller pack_plugin.

parent 4cab7bc1
......@@ -2,7 +2,6 @@
import os
import re
from gluon.admin import plugin_pack
def index():
"""Main Controller to run the application.
......@@ -12,30 +11,5 @@ def index():
return redirect(url)
def pack_plugin():
"""Helper controller to produce the plugin_dbui binary version.
Used by the script buildVersion when building a new release.
Light version of the appadmin/default/pack_plugin controller.
pname = request.vars.plugin
fname = 'web2py.plugin.%s.w2p' % pname
filename = plugin_pack(request.application, pname, request)
if filename:
response.headers['Content-Type'] = 'application/w2p'
disposition = 'attachment; filename=%s' % fname
response.headers['Content-Disposition'] = disposition
fi = open(filename, 'rb')
return None
def user():
return 'hello you hit the default/user controller'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment