File: phpbb/db/migration/data/v310/soft_delete_mod_convert.php
Unmodified
Added
Modified
Removed
Line 12 | Line 12 |
---|
*/
namespace phpbb\db\migration\data\v310;
|
*/
namespace phpbb\db\migration\data\v310;
|
| use phpbb\db\migration\container_aware_migration;
|
/** * Migration to convert the Soft Delete MOD for 3.0 * * https://www.phpbb.com/customise/db/mod/soft_delete/ */
|
/** * Migration to convert the Soft Delete MOD for 3.0 * * https://www.phpbb.com/customise/db/mod/soft_delete/ */
|
class soft_delete_mod_convert extends \phpbb\db\migration\migration
| class soft_delete_mod_convert extends container_aware_migration
|
{ static public function depends_on() {
| { static public function depends_on() {
|
Line 115 | Line 117 |
---|
} }
|
} }
|
| /** * @return \phpbb\content_visibility */
|
protected function get_content_visibility() {
|
protected function get_content_visibility() {
|
return new \phpbb\content_visibility( new \phpbb\auth\auth(), $this->config, $this->db, new \phpbb\user('\phpbb\datetime'), $this->phpbb_root_path, $this->php_ext, $this->table_prefix . 'forums', $this->table_prefix . 'posts', $this->table_prefix . 'topics', $this->table_prefix . 'users' );
| return $this->container->get('content.visibility');
|
} }
| } }
|