src/Plugin/Plugin.php
final public function isConfigured()
	{
		$jname = $this->getJname();
		$result = false;

		if (!empty($jname)) {
			if (!isset(static::$status[$jname])) {
				$db = Factory::getDBO();
				$query = $db->getQuery(true)
					->select('status')
					->from('#__jfusion')
					->where('name = ' . $db->quote($jname));

				$db->setQuery($query);
				$result = $db->loadResult();
				if ($result >= 1) {
					$result = true;
				} else {
					$result = false;
				}
				static::$status[$jname] = $result;
			} else {
				$result = static::$status[$jname];
			}
		}
		return $result;
	}
final public function isConfigured()
	{
		$jname = $this->getJname();
		$result = false;

		if (!empty($jname)) {
			if (!isset(static::$status[$jname])) {
				$db = Factory::getDBO();
				$query = $db->getQuery(true)
					->select('status')
					->from('#__jfusion')
					->where('name = ' . $db->quote($jname));

				$db->setQuery($query);
				$result = $db->loadResult();
				if ($result >= 1) {
					$result = true;
				} else {
					$result = false;
				}
				static::$status[$jname] = $result;
			} else {
				$result = static::$status[$jname];
			}
		}
		return $result;
	}
final public function isConfigured ( ) { $ jname = $ this -> getJname ( ) ; $ result = false ; if ( ! empty ( $ jname ) ) { if ( ! isset ( static :: $ status [ $ jname ] ) ) { $ db = Factory :: getDBO ( ) ; $ query = $ db -> getQuery ( true ) -> select ( 'status' ) -> from ( '#__jfusion' ) -> where ( 'name = ' . $ db -> quote ( $ jname ) ) ; $ db -> setQuery ( $ query ) ; $ result = $ db -> loadResult ( ) ; if ( $ result >= 1 ) { $ result = true ; } else { $ result = false ; } static :: $ status [ $ jname ] = $ result ; } else { $ result = static :: $ status [ $ jname ] ; } } return $ result ; }
Checks to see if the JFusion plugin is properly configured

@return boolean returns true if plugin is correctly configured
Checks to see if the JFusion plugin is properly configured