public function is_installed_and_upgraded() {
        if (!$this->rootdir) {
            return false;
        }
        if ($this->versiondb === null and $this->versiondisk === null) {
            // There is no version.php or version info inside it.
            return false;
        }

        return ((float)$this->versiondb === (float)$this->versiondisk);
    }
public function is_installed_and_upgraded() {
        if (!$this->rootdir) {
            return false;
        }
        if ($this->versiondb === null and $this->versiondisk === null) {
            // There is no version.php or version info inside it.
            return false;
        }

        return ((float)$this->versiondb === (float)$this->versiondisk);
    }
public function is_installed_and_upgraded ( ) { if ( ! $ this -> rootdir ) { return false ; } if ( $ this -> versiondb === null and $ this -> versiondisk === null ) { // There is no version.php or version info inside it. return false ; } return ( ( float ) $ this -> versiondb === ( float ) $ this -> versiondisk ) ; }
Is this plugin already installed and updated?
@return bool true if plugin installed and upgraded.
Is this plugin already installed and updated?