Permalink
Browse files

Remove deprecated num_rows() function

Fixes #1117.
  • Loading branch information...
franzliedke committed Nov 25, 2018
1 parent 6bdf4f5 commit 9891ce1dc8e72351ece1745d215a20864eb6a8b8
Showing with 0 additions and 36 deletions.
  1. +0 −9 include/dblayer/mysqli.php
  2. +0 −9 include/dblayer/mysqli_innodb.php
  3. +0 −9 include/dblayer/pgsql.php
  4. +0 −9 include/dblayer/sqlite.php
@@ -123,15 +123,6 @@ function fetch_row($query_id = 0)
}
/**
* @deprecated since 1.6.0
*/
function num_rows($query_id = 0)
{
return ($query_id) ? @mysqli_num_rows($query_id) : false;
}
function has_rows($query_id)
{
return mysqli_num_rows($query_id) > 0;
@@ -136,15 +136,6 @@ function fetch_row($query_id = 0)
}
/**
* @deprecated since 1.6.0
*/
function num_rows($query_id = 0)
{
return ($query_id) ? @mysqli_num_rows($query_id) : false;
}
function has_rows($query_id)
{
return mysqli_num_rows($query_id) > 0;
@@ -153,15 +153,6 @@ function fetch_row($query_id = 0)
}
/**
* @deprecated since 1.6.0
*/
function num_rows($query_id = 0)
{
return ($query_id) ? @pg_num_rows($query_id) : false;
}
function has_rows($query_id)
{
return pg_num_rows($query_id) > 0;
@@ -172,15 +172,6 @@ function fetch_row($query_id = 0)
}
/**
* @deprecated since 1.6.0
*/
function num_rows($query_id = 0)
{
return ($query_id) ? @sqlite_num_rows($query_id) : false;
}
function has_rows($query_id)
{
return sqlite_num_rows($query_id) > 0;

0 comments on commit 9891ce1

Please sign in to comment.