20 lines
358 B
PHP
20 lines
358 B
PHP
<?php
|
|
|
|
namespace HermannTelser\Gutachten\DB\Delete;
|
|
|
|
use HermannTelser\Gutachten\DB\DbFunction;
|
|
use TYPO3\CMS\Core\Utility\GeneralUtility;
|
|
|
|
class DeleteById
|
|
{
|
|
public static function delete()
|
|
{
|
|
// DbFunction::$debug = 1;
|
|
|
|
$table = GeneralUtility::_GP('table');
|
|
$rowid = GeneralUtility::_GP('id');
|
|
|
|
DbFunction::delete($table, ['id' => $rowid]);
|
|
}
|
|
}
|