remove more v1 legacy

- document removed unused columns in database schema of tables `paste` & `comment`
- amended misleading comments
- nickname is part of the encrypted payload in v2 comments and therefore there is nothing to store separately
This commit is contained in:
El RIDO
2025-07-05 18:19:38 +02:00
parent e2859e9a35
commit b79ae4e929
5 changed files with 11 additions and 15 deletions
+1 -1
View File
@@ -485,6 +485,6 @@ class ModelTest extends TestCase
$vz = new Vizhash16x16();
$pngdata = 'data:image/png;base64,' . base64_encode($vz->generate(TrafficLimiter::getHash()));
$comment = current($this->_model->getPaste(Helper::getPasteId())->get()['comments']);
$this->assertEquals($pngdata, $comment['meta']['icon'], 'nickname triggers vizhash to be set');
$this->assertEquals($pngdata, $comment['meta']['icon'], 'vizhash was generated');
}
}