Much better presentation of new Balance Sheet, P&L Statement and Monthly Breakdown.
[fa-stable.git] / gl / includes / db / gl_db_account_types.inc
index d731b80b66cbb4aa83d64a08528d6d79030434a1..ae6011cd1a9052c33f2d3b89e25bcac6ca1b4708 100644 (file)
@@ -100,17 +100,6 @@ function get_account_class_name($id)
        return $row[0];
 }
 
-function get_account_class_convert($id)
-{
-       global $class_types;
-       $sql = "SELECT balance_sheet FROM ".TB_PREF."chart_class WHERE cid = $id";
-
-       $result = db_query($sql, "could not get class type");
-
-       $row = db_fetch_row($result);
-       return (($row[0] == CL_LIABILITIES || $row[0] == CL_EQUITY || $row[0] == CL_INCOME || $row[0] == 0) ? -1 : 1); // backwards compatibility
-}
-
 function delete_account_class($id)
 {
        $sql = "DELETE FROM ".TB_PREF."chart_class WHERE cid = $id";