* @return void
*/
public function flushPendingUpdates () {
+ // Is the object valid?
+ if (!$this->getResultInstance() instanceof SearchableResult) {
+ // Abort here
+ return;
+ } // END - if
+
// Do we have data to update?
if ($this->getResultInstance()->ifDataNeedsFlush()) {
// Get a database wrapper