Commit afade191 authored by speedprogs_de's avatar speedprogs_de

removed email validation in author model to prevent errors with existing...

removed email validation in author model to prevent errors with existing invalid email adresses, removed obsolate comments, add frontend user id to new extensions if logged in

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/terfe/branches/ter_fe2@46101 735d13b6-9817-0410-8766-e36946ffe9aa
parent a5e2c5fd
......@@ -249,10 +249,6 @@
/**
* Check file hash and increment counter while downloading
*
* TODO:
* - Show a "please wait" massage until file will be downloaded into output buffer
* or find an other way to send external file to browser
*
* @param Tx_TerFe2_Domain_Model_Version $newVersion An existing Version object
* @param string $format Format of the file output
* @return void
......
......@@ -42,7 +42,6 @@
/**
* Email address
* @var string
* @validate EmailAddress
*/
protected $email;
......
......@@ -78,8 +78,6 @@
* - Additonal Version Info:
* - Codelines
* - Codebytes
* - Add "authorForgeLink" to extensionInfo
* - Maybe make author name not required
*
* @return boolean TRUE on success
*/
......@@ -271,9 +269,9 @@
// Add current frontend user uid if logged in
// TODO: Implement community extension here!
/*if (!empty($GLOBALS['TSFE']->fe_user->user['uid'])) {
if (!empty($GLOBALS['TSFE']->fe_user->user['uid'])) {
$extension->setFrontendUser((int) $GLOBALS['TSFE']->fe_user->user['uid']);
}*/
}
}
return $extension;
......@@ -294,7 +292,7 @@
$author->setName( $extensionInfo['authorName']);
$author->setEmail( $extensionInfo['authorEmail']);
$author->setCompany( $extensionInfo['authorCompany']);
//$author->setForgeLink($extensionInfo['authorForgeLink']);
$author->setForgeLink($extensionInfo['authorForgeLink']);
}
return $author;
......
<div class="tx_terfe2">
<div class="tx_terfe2_messages">
<f:renderFlashMessages />
<f:flashMessages />
</div>
<div class="tx_terfe2_content">
<div class="tx_terfe2_main">
......
<div class="tx_terfe2">
<div class="tx_terfe2_messages">
<f:renderFlashMessages />
<f:flashMessages />
</div>
<div class="tx_terfe2_content">
<div class="tx_terfe2_main">
......
Markdown is supported
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