aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/migrator.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-01-08 22:07:12 -0600
committerNathan Guse <nathaniel.guse@gmail.com>2013-01-09 16:42:47 -0600
commit82efb3e446efbb8ef05c6a777e3866901abfd07a (patch)
tree52437390f467f5ac84b712787a1dde8ca87c2887 /phpBB/includes/db/migrator.php
parent91a921a96bf26607879de850fca105be78eadf1d (diff)
downloadforums-82efb3e446efbb8ef05c6a777e3866901abfd07a.tar
forums-82efb3e446efbb8ef05c6a777e3866901abfd07a.tar.gz
forums-82efb3e446efbb8ef05c6a777e3866901abfd07a.tar.bz2
forums-82efb3e446efbb8ef05c6a777e3866901abfd07a.tar.xz
forums-82efb3e446efbb8ef05c6a777e3866901abfd07a.zip
[feature/migrations] Remove references as it is now 3.1 code
PHPBB3-9737
Diffstat (limited to 'phpBB/includes/db/migrator.php')
-rw-r--r--phpBB/includes/db/migrator.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/phpBB/includes/db/migrator.php b/phpBB/includes/db/migrator.php
index 912a7b34ba..9f94273c63 100644
--- a/phpBB/includes/db/migrator.php
+++ b/phpBB/includes/db/migrator.php
@@ -45,10 +45,10 @@ class phpbb_db_migrator
* @param string $phpbb_root_path
* @param string $php_ext
*/
- function phpbb_db_migrator(&$db, &$db_tools, $table_prefix, $migrations_table, $phpbb_root_path, $php_ext)
+ function phpbb_db_migrator($db, $db_tools, $table_prefix, $migrations_table, $phpbb_root_path, $php_ext)
{
- $this->db = &$db;
- $this->db_tools = &$db_tools;
+ $this->db = $db;
+ $this->db_tools = $db_tools;
$this->table_prefix = $table_prefix;
$this->migrations_table = $migrations_table;
$this->migrations = array();
@@ -131,7 +131,7 @@ class phpbb_db_migrator
return false;
}
- $migration =& new $name($this->db, $this->db_tools, $this->table_prefix, $this->phpbb_root_path, $this->php_ext);
+ $migration = new $name($this->db, $this->db_tools, $this->table_prefix, $this->phpbb_root_path, $this->php_ext);
$state = (isset($this->migration_state[$name])) ?
$this->migration_state[$name] :
array(
@@ -182,7 +182,7 @@ class phpbb_db_migrator
return true;
}
- function process_data_step(&$migration)
+ function process_data_step($migration)
{
$continue = false;
$steps = $migration->update_data();
@@ -199,7 +199,7 @@ class phpbb_db_migrator
return $continue;
}
- function run_step(&$step)
+ function run_step($step)
{
}
@@ -234,7 +234,7 @@ class phpbb_db_migrator
return true;
}
- $migration =& new $name($this->db, $this->db_tools, $this->table_prefix, $this->phpbb_root_path, $this->php_ext);
+ $migration = new $name($this->db, $this->db_tools, $this->table_prefix, $this->phpbb_root_path, $this->php_ext);
$depends = $migration->depends_on();
foreach ($depends as $depend)