1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

[ticket/15342] Fix docblock

PHPBB3-15342
This commit is contained in:
Rubén Calvo
2018-06-25 17:35:01 +02:00
parent 238247b5fc
commit db9daf1dea
3 changed files with 14 additions and 7 deletions

View File

@@ -235,6 +235,12 @@ class storage
}
}
/**
* Track file into database.
*
* @param string $path The target file
* @param bool $update Update file size when already tracked
*/
public function track_file($path, $update = false)
{
$sql_ary = array(
@@ -270,6 +276,11 @@ class storage
$this->cache->destroy('_storage_' . $this->get_name() . '_numfiles');
}
/**
* Untrack file.
*
* @param string $path The target file
*/
public function untrack_file($path)
{
$sql_ary = array(