diff --git a/lib/Data/Database.php b/lib/Data/Database.php index e0678994..d4933b00 100644 --- a/lib/Data/Database.php +++ b/lib/Data/Database.php @@ -500,7 +500,7 @@ class Database extends AbstractData */ public function getAllPastes() { - return $this->_db->_query( + return $this->_db->query( 'SELECT "dataid" FROM "' . $this->_sanitizeIdentifier('paste') . '"' )->fetchAll(PDO::FETCH_COLUMN, 0); }