mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/16284] Add depends_on to classes
PHPBB3-16284
This commit is contained in:
@@ -29,6 +29,13 @@ class add_storage_permission extends migration
|
|||||||
return !empty($a_storage_option_id);
|
return !empty($a_storage_option_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static public function depends_on()
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'\phpbb\db\migration\data\v400\dev',
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
public function update_data()
|
public function update_data()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
@@ -22,6 +22,13 @@ class extensions_composer extends migration
|
|||||||
return $this->config->offsetExists('exts_composer_repositories');
|
return $this->config->offsetExists('exts_composer_repositories');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static public function depends_on()
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'\phpbb\db\migration\data\v400\dev',
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
public function update_data()
|
public function update_data()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
@@ -22,6 +22,13 @@ class remove_attachment_download_mode extends migration
|
|||||||
return !$this->db_tools->sql_column_exists($this->tables['extension_groups'], 'download_mode');
|
return !$this->db_tools->sql_column_exists($this->tables['extension_groups'], 'download_mode');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static public function depends_on()
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'\phpbb\db\migration\data\v400\dev',
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
public function update_schema()
|
public function update_schema()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
@@ -23,6 +23,13 @@ class storage_attachment extends migration
|
|||||||
return $this->config->offsetExists('storage\\attachment\\provider');
|
return $this->config->offsetExists('storage\\attachment\\provider');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static public function depends_on()
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'\phpbb\db\migration\data\v400\dev',
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
public function update_data()
|
public function update_data()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
@@ -23,6 +23,13 @@ class storage_avatar extends migration
|
|||||||
return $this->config->offsetExists('storage\\avatar\\provider');
|
return $this->config->offsetExists('storage\\avatar\\provider');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static public function depends_on()
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'\phpbb\db\migration\data\v400\dev',
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
public function update_data()
|
public function update_data()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
@@ -23,6 +23,13 @@ class storage_backup extends migration
|
|||||||
return $this->db_tools->sql_table_exists($this->tables['backups']);
|
return $this->db_tools->sql_table_exists($this->tables['backups']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static public function depends_on()
|
||||||
|
{
|
||||||
|
return [
|
||||||
|
'\phpbb\db\migration\data\v400\dev',
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
public function update_schema()
|
public function update_schema()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
Reference in New Issue
Block a user