mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-08-02 19:46:09 -04:00
implement chrono privacy for pastes, addresses #1290
This commit is contained in:
parent
ec02afca04
commit
a9f1926b96
9 changed files with 24 additions and 29 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue