Owncloud now uses PDO, so no numRows() available any more.