remove model_query_scope from common db mixin

The model_query_scope method is not used from common db mixin [1]. This
patch removes it on the path to eventually removing common db mixin
all together.

NeutronLibImpact

[1] http://codesearch.openstack.org/?q=%5C.model_query_scope%5C(

Change-Id: Ib8ce6e9f6000e9c01d28c1471b885b0f3c8a041b
This commit is contained in:
Boden R 2018-05-30 15:21:30 -06:00
parent 100491cec7
commit e65767034e
1 changed files with 0 additions and 4 deletions

View File

@ -33,10 +33,6 @@ class CommonDbMixin(object):
def register_dict_extend_funcs(resource, funcs):
_resource_extend.register_funcs(resource, funcs)
@staticmethod
def model_query_scope(context, model):
return ndb_utils.model_query_scope_is_project(context, model)
@staticmethod
def _model_query(context, model):
return _model_query.query_with_hooks(context, model)