1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Removed unused method

This commit is contained in:
Cameron 2019-02-11 10:08:42 -08:00
parent 8000567983
commit 6cb92a37a7
2 changed files with 9 additions and 7 deletions

View File

@ -125,6 +125,13 @@
return $this->update($table,$vars,$debug,$log_type,$log_remark);
}
/**
* @deprecated
* @param $table
* @param string $fields
* @param string $args
* @return mixed
*/
public function db_CopyRow($table, $fields = '*', $args='')
{
return $this->copyRow($table,$fields,$args);

View File

@ -1902,12 +1902,7 @@ class e_db_pdo implements e_db
return $ret;
}
/*
function db_Field($table,$fieldid="",$key="", $retinfo = FALSE)
{
return $this->field($table,$fieldid,$key, $retinfo);
}
*/
function columnCount()
{
@ -2283,7 +2278,7 @@ class e_db_pdo implements e_db
* @param bool $data
* @return bool|int|PDOStatement|resource
*/
public function copyTable($oldtable, $newtable, $drop = FALSE, $data = FALSE)
public function copyTable($oldtable, $newtable, $drop = false, $data = false)
{
$old = $this->mySQLPrefix.strtolower($oldtable);
$new = $this->mySQLPrefix.strtolower($newtable);