protected function getDatabaseHistory($code)
    {
        if ($this->databaseHistory !== null && array_key_exists($code, $this->databaseHistory)) {
            return $this->databaseHistory[$code];
        }

        $historyInfo = Db::table('system_plugin_history')
            ->where('code', $code)
            ->orderBy('id')
            ->get()
            ->all();

        return $this->databaseHistory[$code] = $historyInfo;
    }
protected function getDatabaseHistory($code)
    {
        if ($this->databaseHistory !== null && array_key_exists($code, $this->databaseHistory)) {
            return $this->databaseHistory[$code];
        }

        $historyInfo = Db::table('system_plugin_history')
            ->where('code', $code)
            ->orderBy('id')
            ->get()
            ->all();

        return $this->databaseHistory[$code] = $historyInfo;
    }
protected function getDatabaseHistory ( $ code ) { if ( $ this -> databaseHistory !== null && array_key_exists ( $ code , $ this -> databaseHistory ) ) { return $ this -> databaseHistory [ $ code ] ; } $ historyInfo = Db :: table ( 'system_plugin_history' ) -> where ( 'code' , $ code ) -> orderBy ( 'id' ) -> get ( ) -> all ( ) ; return $ this -> databaseHistory [ $ code ] = $ historyInfo ; }
Returns all the update history for a plugin.
Returns all the update history for a plugin .