-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
621 additions
and
388 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,10 @@ | ||
<?php | ||
|
||
/** | ||
* Contao Open Source CMS | ||
* Copyright (C) 2005-2011 Leo Feyer | ||
* notification_center extension for Contao Open Source CMS | ||
* | ||
* Formerly known as TYPOlight Open Source CMS. | ||
* | ||
* This program is free software: you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
* License as published by the Free Software Foundation, either | ||
* version 3 of the License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this program. If not, please visit the Free | ||
* Software Foundation website at <http://www.gnu.org/licenses/>. | ||
* | ||
* PHP version 5 | ||
* @copyright terminal42 gmbh 2013 | ||
* @copyright Copyright (c) 2008-2015, terminal42 | ||
* @author terminal42 gmbh <[email protected]> | ||
* @license LGPL | ||
*/ | ||
|
||
|
@@ -31,12 +14,10 @@ class tl_member | |
{ | ||
/** | ||
* Store the personal data in session | ||
* @param \DataContainer | ||
* @return array | ||
*/ | ||
public function storePersonalData() | ||
{ | ||
if (TL_MODE == 'FE' && FE_USER_LOGGED_IN) | ||
if ('FE' === TL_MODE && true === FE_USER_LOGGED_IN) | ||
{ | ||
$_SESSION['PERSONAL_DATA'] = \FrontendUser::getInstance()->getData(); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.