details:   /erp/erp/devel/pi/rev/6d6d0b8935d1
changeset: 4671:6d6d0b8935d1
user:      Stefan Hühner <stefan.huehner <at> openbravo.com>
date:      Thu Aug 20 16:43:54 2009 +0200
summary:   Fixed 10358: Remove unused public utility method

diffstat:

 src/org/openbravo/erpCommon/utility/Utility.java |  18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

diffs (33 lines):

diff -r 7fab4d187a7c -r 6d6d0b8935d1 
src/org/openbravo/erpCommon/utility/Utility.java
--- a/src/org/openbravo/erpCommon/utility/Utility.java  Thu Aug 20 15:58:26 
2009 +0200
+++ b/src/org/openbravo/erpCommon/utility/Utility.java  Thu Aug 20 16:43:54 
2009 +0200
@@ -69,7 +69,6 @@
 import org.openbravo.data.FieldProvider;
 import org.openbravo.data.Sqlc;
 import org.openbravo.database.ConnectionProvider;
-import org.openbravo.erpCommon.obps.ActivationKey;
 import org.openbravo.erpCommon.reference.PInstanceProcessData;
 import org.openbravo.model.ad.domain.ListTrl;
 import org.openbravo.model.ad.domain.Reference;
@@ -2466,21 +2465,4 @@
     return numberFormatDecimal;
   }
 
-  /**
-   * Returns the OB logo CSS style
-   * 
-   * @param type
-   *          Type of logo<br>
-   *          W for complete window<br>
-   *          P for pop-up
-   * @return the CSS style
-   */
-  public static String getLogo(String type) {
-    if (type.equals("W")) {
-      return "Main_NavBar_logo" + (ActivationKey.isActiveInstance() ? "_OPS" : 
"");
-    } else {
-      return "Popup_NavBar_logo" + (ActivationKey.isActiveInstance() ? "_OPS" 
: "");
-    }
-  }
-
 }

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to