summaryrefslogtreecommitdiff
path: root/it_xml.class
diff options
context:
space:
mode:
authorChristian Schneider2019-02-12 14:50:15 +0100
committerChristian Schneider2019-02-12 14:50:15 +0100
commit2a1db64b3ab5e0050807f7f9dbcfe29b72809aaa (patch)
tree2b106438df71fdd2f797a4320f1950008a1d8589 /it_xml.class
parentaafd95fc673f850503fdbe342ce17cdbd24d5c49 (diff)
downloaditools-2a1db64b3ab5e0050807f7f9dbcfe29b72809aaa.tar.gz
itools-2a1db64b3ab5e0050807f7f9dbcfe29b72809aaa.tar.bz2
itools-2a1db64b3ab5e0050807f7f9dbcfe29b72809aaa.zip
Migrate old style constructors to __construct, temporary transition functions for it_dbi (map, mapgen) and it_user (ad, login_user)
Diffstat (limited to 'it_xml.class')
-rw-r--r--it_xml.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_xml.class b/it_xml.class
index 4e838c1..2e687e1 100644
--- a/it_xml.class
+++ b/it_xml.class
@@ -33,7 +33,7 @@ class it_xml
* @return XML object tree or null on failure
*/
-function it_xml($xmldata = "", $p = array())
+function __construct($xmldata = "", $p = array())
{
if ($xmldata)
$this->from_xml($xmldata, $p);