Commit 5e2c33bd authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Merge branch 'feature/unused-database-fields-no-1' into 'develop'

[TASK] Remove database field tx_ter_extensionkeys.maxstoresize

See merge request t3o/ter!493
parents 22a78011 a8db294f
Pipeline #9053 passed with stages
in 9 minutes and 50 seconds
......@@ -62,15 +62,6 @@ return [
'eval' => 'trim',
],
],
'maxstoresize' => [
'label' => 'LLL:EXT:ter/locallang_tca.xml:tx_ter_extensionkeys.maxstoresize',
'config' => [
'type' => 'input',
'size' => '10',
'max' => '10',
'eval' => 'int',
],
],
'downloadcounter' => [
'label' => 'LLL:EXT:ter/locallang_tca.xml:tx_ter_extensions.downloadcounter',
'config' => [
......@@ -81,6 +72,6 @@ return [
],
],
'types' => [
'1' => ['showitem' => 'title,description,extensionkey,ownerusername,maxstoresize,downloadcounter'],
'1' => ['showitem' => 'title,description,extensionkey,ownerusername,downloadcounter'],
]
];
......@@ -1328,8 +1328,7 @@ class tx_ter_api
'extensionkey' => $extensionKeyData->extensionKey,
'title' => mb_strcut($extensionKeyData->title, 0, 50, 'utf-8'),
'description' => mb_strcut($extensionKeyData->description, 0, 255, 'utf-8'),
'ownerusername' => $accountData->username,
'maxstoresize' => 0
'ownerusername' => $accountData->username
];
$result = $GLOBALS['TYPO3_DB']->exec_INSERTquery('tx_ter_extensionkeys', $extensionKeysRow);
if (!$result) {
......
......@@ -10,7 +10,6 @@ CREATE TABLE tx_ter_extensionkeys (
description text NOT NULL,
extensionkey varchar(30) DEFAULT '' NOT NULL,
ownerusername varchar(30) DEFAULT '' NOT NULL,
maxstoresize int(11) DEFAULT '0' NOT NULL,
downloadcounter int(11) DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
......
......@@ -11,7 +11,6 @@
<label index="tx_ter_extensionkeys.description">Description</label>
<label index="tx_ter_extensionkeys.extensionkey">Extension key</label>
<label index="tx_ter_extensionkeys.ownerusername">Owner username</label>
<label index="tx_ter_extensionkeys.maxstoresize">Max store size</label>
<label index="tx_ter_extensionkeys.downloadcounter">Download counter</label>
<label index="tx_ter_extensions">Extension</label>
<label index="tx_ter_extensions.extensionkey">Extension key</label>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment