This function don't use the plugin.
969903
def delete_name(name):
    '''  '''
    session = create_session()
    try:
        user = session.query(User).filter_by(name=name).first()
        session.delete(user)
        session.commit()
    except SQLAlchemyError, e:
        session.rollback()
        raise bottle.HTTPError(500, "Database Error", e)
    finally:
        session.close()
1039796
def unload_plug_in(self, name):
        
        if not isinstance(name, basestring):
            raise TypeError("name can only be an instance of type basestring")
        self._call("unloadPlugIn",
                     in_p=[name])
283131
def unload_plugin(name)
      p = get_plugin(name)

      p.unload if p.respond_to?(:unload)
      Capistrano.remove_plugin(name)
    end
165630
def disable_plugin(self, name):
        
        url = self._url('/plugins/{0}/disable', name)
        res = self._post(url)
        self._raise_for_status(res)
        return True
987097
def login_not_required(func):
    

    @functools.wraps(func)
    def decorated_view(*args, **kwargs):
        return func(*args, **kwargs)

    return decorated_view
331550
function (plugins, func) {
                var idx, plugin = null;
                // iterate to process in reverse order without side-effects.
                for (idx = 1; idx <= plugins.length; idx += 1) {
                    plugin = plugins[plugins.length - idx];
                    func(plugin);
                    if (plugin.stopProcessing) {
                        break;
                    }
                }
            }
364996
function not(arr) {
                var ans = new Array(arr.length);
                for (var i = 0; i < ans.length; i++)
                    ans[i] = ~arr[i];
                return ans;
            }
839953
def _plugins_to_export(self):
        """"""
        ret = self.exportable_plugins
        for p in ret:
            if getattr(self.args, 'disable_' + p):
                ret.remove(p)
        return ret
1283776
public void not() {
        IntBitSet tmp;

        tmp = new IntBitSet();
        tmp.addRange(0, used - 1);
        tmp.removeAll(ends);
        ends = tmp;
    }
1122518
def RemoveMethod(self, function):
        
        self.added_methods = [dm for dm in self.added_methods if not dm.method is function]
615037
function(plugin) {
            var ns = plugin, 
                plugins = this._plugins;
    
            if (L.isFunction(plugin)) {
                ns = plugin.NS;
                if (ns && (!plugins[ns] || plugins[ns] !== plugin)) {
                    ns = null;
                }
            }
    
            if (ns) {
                if (this[ns]) {
                    this[ns].destroy();
                    delete this[ns];
                }
                if (plugins[ns]) {
                    delete plugins[ns];
                }
            }
        }
1179179
function () {
            /*  determine parameters  */
            var params = $cs.params("unplug", arguments, {
                id:        { pos: 0, req: true  },
                targeting: {         def: false }
            });

            /*  determine plugging information  */
            if (typeof this.__plugs[params.id] === "undefined")
                throw _cs.exception("unplug", "plugging not found");
            var name   = this.__plugs[params.id].name;
            var object = this.__plugs[params.id].object;

            /*  pass-though operation to common helper function  */
            _cs.plugger("unplug", this, name, object, params.targeting);

            /*  remove plugging  */
            delete this.__plugs[params.id];
            return;
        }
904342
def closing_plugin(self, cancelable=False):
        """"""
        self.save_config()
        self.explorer.closing_widget()
        return True
400851
protected function withoutEvents()
    {
        $mock = Mockery::mock('Illuminate\Contracts\Events\Dispatcher');

        $mock->shouldReceive('fire', 'dispatch', 'getCommandHandler')->andReturnUsing(function ($called) {
            $this->firedEvents[] = $called;
        });

        $this->app->instance('events', $mock);

        return $this;
    }
380753
def closing_plugin(self, cancelable=False):
        """"""
        for cl in self.clients:
            cl.close()
        self.set_option('recent_notebooks', self.recent_notebooks)
        return True
120660
function off(element, type, handler, opt) {
    util.removeEventListener(element, type, handler, opt, true);
  }
227107
function (plugin) {
                this.removePluginByName(plugin.name, plugin.type);
                logger.debug("Plugin: " + plugin.name + " has been removed");
            }