Page MenuHomePhorge

20140629.legalsig.2.php
No OneTemporary

20140629.legalsig.2.php

<?php
$table = new LegalpadDocumentSignature();
$conn_w = $table->establishConnection('w');
foreach (new LiskMigrationIterator($table) as $signature) {
echo pht("Updating Legalpad signature %d...\n", $signature->getID());
$data = $signature->getSignatureData();
queryfx(
$conn_w,
'UPDATE %T SET signerName = %s, signerEmail = %s WHERE id = %d',
$table->getTableName(),
(string)idx($data, 'name'),
(string)idx($data, 'email'),
$signature->getID());
}

File Metadata

Mime Type
text/x-php
Expires
Jan 19 2025, 11:29 (5 w, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1124181
Default Alt Text
20140629.legalsig.2.php (483 B)

Event Timeline