includes/managers/class-fs-plugin-manager.php
function update( FS_Plugin $plugin, $store = true ) {
			if ( ! ($this->_module instanceof FS_Plugin ) ||
			     $this->_module->slug != $plugin->slug ||
			     $this->_module->public_key != $plugin->public_key ||
			     $this->_module->secret_key != $plugin->secret_key ||
			     $this->_module->parent_plugin_id != $plugin->parent_plugin_id ||
			     $this->_module->title != $plugin->title
			) {
				$this->store( $plugin, $store );

				return true;
			}

			return false;
		}
function update( FS_Plugin $plugin, $store = true ) {
			if ( ! ($this->_module instanceof FS_Plugin ) ||
			     $this->_module->slug != $plugin->slug ||
			     $this->_module->public_key != $plugin->public_key ||
			     $this->_module->secret_key != $plugin->secret_key ||
			     $this->_module->parent_plugin_id != $plugin->parent_plugin_id ||
			     $this->_module->title != $plugin->title
			) {
				$this->store( $plugin, $store );

				return true;
			}

			return false;
		}
function update ( FS_Plugin $ plugin , $ store = true ) { if ( ! ( $ this -> _module instanceof FS_Plugin ) || $ this -> _module -> slug != $ plugin -> slug || $ this -> _module -> public_key != $ plugin -> public_key || $ this -> _module -> secret_key != $ plugin -> secret_key || $ this -> _module -> parent_plugin_id != $ plugin -> parent_plugin_id || $ this -> _module -> title != $ plugin -> title ) { $ this -> store ( $ plugin , $ store ) ; return true ; } return false ; }
Update local plugin data if different.

@author Vova Feldman (@svovaf)
@since  1.0.6

@param \FS_Plugin $plugin
@param bool       $store

@return bool True if plugin was updated.
Update local plugin data if different .