mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 00:54:08 +02:00
uses PHP 5 constructors
This commit is contained in:
@@ -94,7 +94,7 @@ if (isset($_GET["pgsql"])) {
|
||||
class Min_Result {
|
||||
var $_result, $_offset = 0, $num_rows;
|
||||
|
||||
function Min_Result($result) {
|
||||
function __construct($result) {
|
||||
$this->_result = $result;
|
||||
$this->num_rows = pg_num_rows($result);
|
||||
}
|
||||
|
Reference in New Issue
Block a user