public function previous_state()
	{	
		$id = (int) ps('ID');

		if (!$id)
		{
			return;
		}

		$this->prev_permlink = permlinkurl_id($id);
		$this->prev_status = fetch('Status', 'textpattern', 'ID', $id);
		unset($GLOBALS['permlinks'][$id]);
	}
public function previous_state()
	{	
		$id = (int) ps('ID');

		if (!$id)
		{
			return;
		}

		$this->prev_permlink = permlinkurl_id($id);
		$this->prev_status = fetch('Status', 'textpattern', 'ID', $id);
		unset($GLOBALS['permlinks'][$id]);
	}
public function previous_state ( ) { $ id = ( int ) ps ( 'ID' ) ; if ( ! $ id ) { return ; } $ this -> prev_permlink = permlinkurl_id ( $ id ) ; $ this -> prev_status = fetch ( 'Status' , 'textpattern' , 'ID' , $ id ) ; unset ( $ GLOBALS [ 'permlinks' ] [ $ id ] ) ; }
Fetches old article data.
Fetches old article data .