mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-25 18:13:28 +01:00
[ticket/15342] Track current uploaded files
PHPBB3-15342
This commit is contained in:
parent
e9dd717b8b
commit
91026b56b9
@ -40,4 +40,28 @@ class storage_track extends \phpbb\db\migration\migration
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
public function update_data()
|
||||
{
|
||||
return [
|
||||
['custom', [[$this, 'track_avatars']]],
|
||||
['custom', [[$this, 'track_attachments']]],
|
||||
['custom', [[$this, 'track_backups']]],
|
||||
];
|
||||
}
|
||||
|
||||
public function track_avatars()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function track_attachments()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function track_backups()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -253,7 +253,7 @@ class storage
|
||||
}
|
||||
}
|
||||
|
||||
protected function track_file($path, $update = false)
|
||||
public function track_file($path, $update = false)
|
||||
{
|
||||
$sql_ary = array(
|
||||
'file_path' => $path,
|
||||
@ -285,7 +285,7 @@ class storage
|
||||
}
|
||||
}
|
||||
|
||||
protected function untrack_file($path)
|
||||
public function untrack_file($path)
|
||||
{
|
||||
$sql_ary = array(
|
||||
'file_path' => $path,
|
||||
|
Loading…
x
Reference in New Issue
Block a user