LLMS_Background_Updater::save()

Save queue


Description Description

Overwrites parent method to empty $this->data following a save.

This ensures save() can be called multiple times without recording duplicates.


Top ↑

Return Return

(LLMS_Background_Updater)


Top ↑

Source Source

File: includes/class.llms.background.updater.php

	public function save() {

		parent::save();
		// Reset data to avoid duplicates if save() is called more than once.
		$this->data = array();

		return $this;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.