summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2015-05-15 19:41:15 +0200
committerChristopher Smith <chris@jalakai.co.uk>2015-05-15 19:41:15 +0200
commit1cb97a10e626bb48eb809e12d0fadea1e1cea7da (patch)
treede612c4a5e18580eab409ac94b3dc1ec968c1900 /inc
parente56e288689415ba069beb129a3ed9dccc404c0a3 (diff)
downloadrpg-1cb97a10e626bb48eb809e12d0fadea1e1cea7da.tar.gz
rpg-1cb97a10e626bb48eb809e12d0fadea1e1cea7da.tar.bz2
update parent constructor calls to use __construct()
Diffstat (limited to 'inc')
-rw-r--r--inc/cache.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/cache.php b/inc/cache.php
index 1776d94cd..35d9cfd43 100644
--- a/inc/cache.php
+++ b/inc/cache.php
@@ -193,7 +193,7 @@ class cache_parser extends cache {
$this->file = $file;
$this->mode = $mode;
- parent::cache($file.$_SERVER['HTTP_HOST'].$_SERVER['SERVER_PORT'],'.'.$mode);
+ parent::__construct($file.$_SERVER['HTTP_HOST'].$_SERVER['SERVER_PORT'],'.'.$mode);
}
/**
@@ -309,7 +309,7 @@ class cache_instructions extends cache_parser {
* @param string $file source file for cache
*/
public function cache_instructions($id, $file) {
- parent::cache_parser($id, $file, 'i');
+ parent::__construct($id, $file, 'i');
}
/**