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:
parent
100491cec7
commit
e65767034e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue