diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-01-12 19:45:20 -0600 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-02-06 11:35:54 -0600 |
commit | dfcf9966e95fce074a5ed6eb4036393f5b62de7c (patch) | |
tree | b1224f7a647dac2886cc310df907d759779b4f0b | |
parent | dd327ac83ead363564d489a5819cb9648dcac2c1 (diff) | |
download | forums-dfcf9966e95fce074a5ed6eb4036393f5b62de7c.tar forums-dfcf9966e95fce074a5ed6eb4036393f5b62de7c.tar.gz forums-dfcf9966e95fce074a5ed6eb4036393f5b62de7c.tar.bz2 forums-dfcf9966e95fce074a5ed6eb4036393f5b62de7c.tar.xz forums-dfcf9966e95fce074a5ed6eb4036393f5b62de7c.zip |
[feature/migrations] Comments for the return in the custom functions
PHPBB3-11318
-rw-r--r-- | phpBB/includes/db/migration/data/3_0_11_rc1.php | 1 | ||||
-rw-r--r-- | phpBB/includes/db/migration/data/3_0_7_rc2.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/db/migration/data/3_0_11_rc1.php b/phpBB/includes/db/migration/data/3_0_11_rc1.php index 676e6baa87..43e0156760 100644 --- a/phpBB/includes/db/migration/data/3_0_11_rc1.php +++ b/phpBB/includes/db/migration/data/3_0_11_rc1.php @@ -83,6 +83,7 @@ class phpbb_db_migration_data_3_0_11_rc1 extends phpbb_db_migration WHERE ' . $this->db->sql_in_set('msg_id', $delete_pms); $this->sql_query($sql); + // Return false to have the Migrator call this function again return false; } } diff --git a/phpBB/includes/db/migration/data/3_0_7_rc2.php b/phpBB/includes/db/migration/data/3_0_7_rc2.php index e986be23bf..c2720b532f 100644 --- a/phpBB/includes/db/migration/data/3_0_7_rc2.php +++ b/phpBB/includes/db/migration/data/3_0_7_rc2.php @@ -62,6 +62,7 @@ class phpbb_db_migration_data_3_0_7_rc2 extends phpbb_db_migration return; } + // Return the next start, will be sent to $start when this function is called again return $start + $limit; } } |