From 7608905b3c54f109461b330a6e74ccb0971d6989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a?= Date: Sat, 18 Aug 2012 20:51:30 +0200 Subject: [PATCH] Removed duplicated code --- htdocs/cashdesk/tpl/menu.tpl.php | 5 ++--- htdocs/main.inc.php | 19 +++++++------------ 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/htdocs/cashdesk/tpl/menu.tpl.php b/htdocs/cashdesk/tpl/menu.tpl.php index 44d62f54af4..78fbc8a4f74 100644 --- a/htdocs/cashdesk/tpl/menu.tpl.php +++ b/htdocs/cashdesk/tpl/menu.tpl.php @@ -3,6 +3,7 @@ * Copyright (C) 2008-2010 Laurent Destailleur * Copyright (C) 2009 Regis Houssin * Copyright (C) 2011 Juanjo Menent + * Copyright (C) 2012 Marcos GarcĂ­a * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -58,8 +59,6 @@ if (!empty($_SESSION["CASHDESK_ID_WAREHOUSE"]) && $conf->stock->enabled) $langs->load("cashdesk"); $langs->load("main"); -$logout=''; - print '