aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/History.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2018-12-03 00:59:21 +0100
committerVirtualTam <virtualtam@flibidi.net>2019-01-12 22:47:48 +0100
commita0c4dbd91c41b9ecdd5176c1ac33b55e240d2392 (patch)
tree6a3e2e1b07b9ce9af42fae3fd8f66e9639a1e73a /application/History.php
parent8c0f19c7971e1a4534347ce9d6d82a0a45799711 (diff)
downloadShaarli-a0c4dbd91c41b9ecdd5176c1ac33b55e240d2392.tar.gz
Shaarli-a0c4dbd91c41b9ecdd5176c1ac33b55e240d2392.tar.zst
Shaarli-a0c4dbd91c41b9ecdd5176c1ac33b55e240d2392.zip
namespacing: \Shaarli\FileUtils
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'application/History.php')
-rw-r--r--application/History.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/application/History.php b/application/History.php
index 8074a017..a5846652 100644
--- a/application/History.php
+++ b/application/History.php
@@ -3,7 +3,6 @@ namespace Shaarli;
3 3
4use DateTime; 4use DateTime;
5use Exception; 5use Exception;
6use FileUtils;
7 6
8/** 7/**
9 * Class History 8 * Class History
@@ -71,7 +70,7 @@ class History
71 * History constructor. 70 * History constructor.
72 * 71 *
73 * @param string $historyFilePath History file path. 72 * @param string $historyFilePath History file path.
74 * @param int $retentionTime History content rentention time in seconds. 73 * @param int $retentionTime History content retention time in seconds.
75 * 74 *
76 * @throws Exception if something goes wrong. 75 * @throws Exception if something goes wrong.
77 */ 76 */
@@ -146,7 +145,7 @@ class History
146 * Save a new event and write it in the history file. 145 * Save a new event and write it in the history file.
147 * 146 *
148 * @param string $status Event key, should be defined as constant. 147 * @param string $status Event key, should be defined as constant.
149 * @param mixed $id Event item identifier (e.g. link ID). 148 * @param mixed $id Event item identifier (e.g. link ID).
150 */ 149 */
151 protected function addEvent($status, $id = null) 150 protected function addEvent($status, $id = null)
152 { 151 {