vault/classes/Maikuolan/Cache.php
public function deleteEntry($Entry)
    {
        if ($this->Using === 'APCu') {
            if (apcu_delete($Entry)) {
                return $this->Modified = true;
            }
            return false;
        }
        if ($this->Using === 'Memcached' || $this->Using === 'Redis') {
            if ($this->WorkingData->delete($Entry)) {
                return $this->Modified = true;
            }
            return false;
        }
        if ($this->Using === 'PDO') {
            $PDO = $this->WorkingData->prepare(self::deleteQuery);
            if ($PDO !== false && $PDO->execute(['key' => $Entry])) {
                return ($PDO->rowCount() > 0 && $this->Modified = true);
            }
            return false;
        }
        if (is_array($this->WorkingData)) {
            if (isset($this->WorkingData[$Entry])) {
                unset($this->WorkingData[$Entry]);
                return $this->Modified = true;
            }
        }
        return false;
    }
public function deleteEntry($Entry)
    {
        if ($this->Using === 'APCu') {
            if (apcu_delete($Entry)) {
                return $this->Modified = true;
            }
            return false;
        }
        if ($this->Using === 'Memcached' || $this->Using === 'Redis') {
            if ($this->WorkingData->delete($Entry)) {
                return $this->Modified = true;
            }
            return false;
        }
        if ($this->Using === 'PDO') {
            $PDO = $this->WorkingData->prepare(self::deleteQuery);
            if ($PDO !== false && $PDO->execute(['key' => $Entry])) {
                return ($PDO->rowCount() > 0 && $this->Modified = true);
            }
            return false;
        }
        if (is_array($this->WorkingData)) {
            if (isset($this->WorkingData[$Entry])) {
                unset($this->WorkingData[$Entry]);
                return $this->Modified = true;
            }
        }
        return false;
    }
public function deleteEntry ( $ Entry ) { if ( $ this -> Using === 'APCu' ) { if ( apcu_delete ( $ Entry ) ) { return $ this -> Modified = true ; } return false ; } if ( $ this -> Using === 'Memcached' || $ this -> Using === 'Redis' ) { if ( $ this -> WorkingData -> delete ( $ Entry ) ) { return $ this -> Modified = true ; } return false ; } if ( $ this -> Using === 'PDO' ) { $ PDO = $ this -> WorkingData -> prepare ( self :: deleteQuery ) ; if ( $ PDO !== false && $ PDO -> execute ( [ 'key' => $ Entry ] ) ) { return ( $ PDO -> rowCount ( ) > 0 && $ this -> Modified = true ) ; } return false ; } if ( is_array ( $ this -> WorkingData ) ) { if ( isset ( $ this -> WorkingData [ $ Entry ] ) ) { unset ( $ this -> WorkingData [ $ Entry ] ) ; return $ this -> Modified = true ; } } return false ; }
Delete a specific cache entry.

@param string $Entry The name of the cache entry to delete.
@return bool True on success; False on failure.
Delete a specific cache entry .