1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-14 10:34:01 +02:00

uses PHP 5 constructors

This commit is contained in:
David Grudl
2015-08-15 17:04:21 +02:00
committed by Jakub Vrana
parent d1aa3542ae
commit a6ebd4a3e0
25 changed files with 36 additions and 36 deletions

View File

@@ -15,7 +15,7 @@ class AdminerWymeditor {
* @param array
* @param string in format "skin: 'custom', preInit: function () { }"
*/
function AdminerWymeditor($scripts = array("jquery/jquery.js", "wymeditor/jquery.wymeditor.min.js"), $options = "") {
function __construct($scripts = array("jquery/jquery.js", "wymeditor/jquery.wymeditor.min.js"), $options = "") {
$this->scripts = $scripts;
$this->options = $options;
}