english/administrator/components/com_redirect/models/link.php
/**
	 * Method to test whether a record can have its state edited.
	 *
	 * @param	object	$record	A record object.
	 *
	 * @return	boolean	True if allowed to change the state of the record. Defaults to the permission set in the component.
	 * @since	1.6
	 */
Method to test whether a record can have its state edited.
@param       object  $record A record object.

@return      boolean True if allowed to change the state of the record. Defaults to the permission set in the component.
Method to test whether a record can have its state edited . @param object $record A record object . @return boolean True if allowed to change the state of the record . Defaults to the permission set in the component .
protected function canEditState($record)
	{
		$user = JFactory::getUser();
			return $user->authorise('core.admin', 'com_redirect');
	}
protected function canEditState ( $ record ) { $ user = JFactory :: getUser ( ) ; return $ user -> authorise ( 'core.admin' , 'com_redirect' ) ; }
Method to test whether a record can have its state edited.
Method to test whether a record can have its state edited .
// Check the component since there are no categories or other assets.