@@ -257,14 +257,14 @@ discard block |
||
257 | 257 | DELETE FROM salt_change |
258 | 258 | WHERE doc_id = :lsDocId |
259 | 259 | ; |
260 | -xENDx; |
|
260 | +xendx; |
|
261 | 261 | |
262 | 262 | $conn->prepare($stmt)->execute($params); |
263 | 263 | $stmt = <<<'xENDx' |
264 | 264 | DELETE FROM salt_object_lock |
265 | 265 | WHERE doc_id = :lsDocId |
266 | 266 | ; |
267 | -xENDx; |
|
267 | +xendx; |
|
268 | 268 | $conn->prepare($stmt)->execute($params); |
269 | 269 | |
270 | 270 | $progressCallback('Deleting associations'); |
@@ -282,7 +282,7 @@ discard block |
||
282 | 282 | WHERE i.ls_doc_id = :lsDocId |
283 | 283 | ) |
284 | 284 | ; |
285 | -xENDx; |
|
285 | +xendx; |
|
286 | 286 | $conn->prepare($stmt)->execute($params); |
287 | 287 | |
288 | 288 | $progressCallback('Deleting association groups'); |
@@ -290,7 +290,7 @@ discard block |
||
290 | 290 | DELETE FROM ls_def_association_grouping |
291 | 291 | WHERE ls_doc_id = :lsDocId |
292 | 292 | ; |
293 | -xENDx; |
|
293 | +xendx; |
|
294 | 294 | $conn->prepare($stmt)->execute($params); |
295 | 295 | |
296 | 296 | $progressCallback('Deleting rubric references to items'); |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | WHERE ls_doc_id = :lsDocId |
304 | 304 | ) |
305 | 305 | ; |
306 | -xENDx; |
|
306 | +xendx; |
|
307 | 307 | $conn->prepare($stmt)->execute($params); |
308 | 308 | |
309 | 309 | $progressCallback('Deleting items'); |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | DELETE FROM ls_item |
312 | 312 | WHERE ls_doc_id = :lsDocId |
313 | 313 | ; |
314 | -xENDx; |
|
314 | +xendx; |
|
315 | 315 | $conn->prepare($stmt)->execute($params); |
316 | 316 | |
317 | 317 | $progressCallback('Deleting document subjects'); |
@@ -319,7 +319,7 @@ discard block |
||
319 | 319 | DELETE FROM ls_doc_subject |
320 | 320 | WHERE ls_doc_id = :lsDocId |
321 | 321 | ; |
322 | -xENDx; |
|
322 | +xendx; |
|
323 | 323 | $conn->prepare($stmt)->execute($params); |
324 | 324 | |
325 | 325 | $progressCallback('Deleting document import logs'); |
@@ -327,7 +327,7 @@ discard block |
||
327 | 327 | DELETE FROM import_logs |
328 | 328 | WHERE ls_doc_id = :lsDocId |
329 | 329 | ; |
330 | -xENDx; |
|
330 | +xendx; |
|
331 | 331 | $conn->prepare($stmt)->execute($params); |
332 | 332 | |
333 | 333 | $progressCallback('Deleting acls'); |
@@ -335,7 +335,7 @@ discard block |
||
335 | 335 | DELETE FROM salt_user_doc_acl |
336 | 336 | WHERE doc_id = :lsDocId |
337 | 337 | ; |
338 | -xENDx; |
|
338 | +xendx; |
|
339 | 339 | $conn->prepare($stmt)->execute($params); |
340 | 340 | |
341 | 341 | $progressCallback('Deleting document attributes'); |
@@ -343,7 +343,7 @@ discard block |
||
343 | 343 | DELETE FROM ls_doc_attribute |
344 | 344 | WHERE ls_doc_id = :lsDocId |
345 | 345 | ; |
346 | -xENDx; |
|
346 | +xendx; |
|
347 | 347 | $conn->prepare($stmt)->execute($params); |
348 | 348 | |
349 | 349 | $progressCallback('Deleting document'); |
@@ -351,7 +351,7 @@ discard block |
||
351 | 351 | DELETE FROM ls_doc |
352 | 352 | WHERE id = :lsDocId |
353 | 353 | ; |
354 | -xENDx; |
|
354 | +xendx; |
|
355 | 355 | $conn->prepare($stmt)->execute($params); |
356 | 356 | |
357 | 357 | $progressCallback('Done'); |