implement chrono privacy for pastes, addresses #1290

This commit is contained in:
El RIDO
2024-05-01 20:16:03 +02:00
parent ec02afca04
commit a9f1926b96
9 changed files with 24 additions and 29 deletions
+1 -2
View File
@@ -134,12 +134,11 @@ class ModelTest extends TestCase
$options['model_options']['pwd'],
$options['model_options']['opt']
);
$statement = $db->prepare('INSERT INTO paste VALUES(?,?,?,?,?,?,?,?,?)');
$statement = $db->prepare('INSERT INTO paste VALUES(?,?,?,?,?,?,?,?)');
$statement->execute(
array(
Helper::getPasteId(),
$pasteData['data'],
$pasteData['meta']['postdate'],
0,
0,
0,