mirror of
https://github.com/vrana/adminer.git
synced 2025-08-18 12:21:24 +02:00
uses PHP 5 constructors
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/** Create object for performing database operations
|
||||
* @param Min_DB
|
||||
*/
|
||||
function Min_SQL($connection) {
|
||||
function __construct($connection) {
|
||||
$this->_conn = $connection;
|
||||
}
|
||||
|
||||
|
@@ -4,7 +4,7 @@ class TmpFile {
|
||||
var $handler;
|
||||
var $size;
|
||||
|
||||
function TmpFile() {
|
||||
function __construct() {
|
||||
$this->handler = tmpfile();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user