mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Media: Remove unused refresh from _requery.
In [50067] `props.cache` was removed as it was unused. This left a lingering unused `refresh` in the `_requery` function. Props peterwilsoncc. See #50025. git-svn-id: https://develop.svn.wordpress.org/trunk@50068 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a8b5b71590
commit
8aabbb6286
@ -383,10 +383,11 @@ var Attachments = Backbone.Collection.extend(/** @lends wp.media.model.Attachmen
|
||||
},
|
||||
/**
|
||||
* If the collection is a query, create and mirror an Attachments Query collection.
|
||||
*
|
||||
*
|
||||
* @access private
|
||||
* @param {Boolean} refresh Deprecated, refresh parameter no longer used.
|
||||
*/
|
||||
_requery: function( refresh ) {
|
||||
_requery: function() {
|
||||
var props;
|
||||
if ( this.props.get('query') ) {
|
||||
props = this.props.toJSON();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user