Switch to unified view

a/Allura/allura/app.py b/Allura/allura/app.py
...
...
216
                'project_id':project_id,
216
                'project_id':project_id,
217
                'app_config_id':self.config._id}):
217
                'app_config_id':self.config._id}):
218
            d.delete()
218
            d.delete()
219
        self.config.delete()
219
        self.config.delete()
220
        session(self.config).flush()
220
        session(self.config).flush()
221
222
    @property
223
    def uninstallable(self):
224
        """Return True if this app can be uninstalled. Controls whether the
225
        'Delete' option appears on the admin menu for this app.
226
227
        By default, an app can be uninstalled iff it can be installed, although
228
        some apps may want/need to override this (e.g. an app which can
229
        not be installed directly by a user, but may be uninstalled).
230
        """
231
        return self.installable
221
232
222
    def main_menu(self):
233
    def main_menu(self):
223
        '''Apps should provide their entries to be added to the main nav
234
        '''Apps should provide their entries to be added to the main nav
224
        :return: a list of :class:`SitemapEntries <allura.app.SitemapEntry>`
235
        :return: a list of :class:`SitemapEntries <allura.app.SitemapEntry>`
225
        '''
236
        '''