projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Vlrsnup according to Apmuthu's list.
[fa-stable.git]
/
doc
/
api_changes.txt
diff --git
a/doc/api_changes.txt
b/doc/api_changes.txt
index 6af93f474f371789d115f66e64d1c4b3789b7c5c..36c94fe443c6d957b7035c866886d294d6aa5d1b 100644
(file)
--- a/
doc/api_changes.txt
+++ b/
doc/api_changes.txt
@@
-8,10
+8,18
@@
Changed functions:
get_company_pref($prefs = null)
get_company_prefs()
maintenance_db.inc:
get_company_pref($prefs = null)
get_company_prefs()
maintenance_db.inc:
- db_backup($conn, $ext='no', $comm='', $path=
null
)
+ db_backup($conn, $ext='no', $comm='', $path=
''
)
db_export($conn, $filename, $zip='no', $comment='', $no_default=false)
save_to_file($path, $zip, $fileData)
db_export($conn, $filename, $zip='no', $comment='', $no_default=false)
save_to_file($path, $zip, $fileData)
+ tax_types_db.inc:
+ get_tax_type_default_rate($type_id) => get_tax_type_rate($type_id)
+Before 2.4:
+ get_tax_type_default_rate($type_id)
+Now:
+ get_tax_type_rate($type_id)
+Description:
+ Misleading function name changed.
Before 2.4:
update_company_prefs( $params, $pref = TB_PREF )
Before 2.4:
update_company_prefs( $params, $pref = TB_PREF )
@@
-40,7
+48,7
@@
Description:
Before 2.4:
db_backup($conn, $ext='no', $comm='', $tbpref = TB_PREF)
Now:
Before 2.4:
db_backup($conn, $ext='no', $comm='', $tbpref = TB_PREF)
Now:
- db_backup($conn, $ext='no', $comm='', $path=
null
)
+ db_backup($conn, $ext='no', $comm='', $path=
''
)
Description:
$tbpref parameter has been removed. Calls should be done after switch to selected company database with
set_global_connection($company).
Description:
$tbpref parameter has been removed. Calls should be done after switch to selected company database with
set_global_connection($company).
@@
-49,10
+57,10
@@
Description:
Before 2.4:
db_export($conn, $filename, $zip='no', $comment='', $tbpref = TB_PREF, $no_default=false)
Now:
Before 2.4:
db_export($conn, $filename, $zip='no', $comment='', $tbpref = TB_PREF, $no_default=false)
Now:
- db_export($conn, $filename, $zip='no', $comment=''
, $no_default=false
)
+ db_export($conn, $filename, $zip='no', $comment='')
Description:
$tbpref parameter has been removed. Calls should be done after switch to selected company database with
Description:
$tbpref parameter has been removed. Calls should be done after switch to selected company database with
- set_global_connection($company).
+ set_global_connection($company).
Also removed obsolete $no_default parameter.
$filename now have to contain full path to target directory.
Before 2.4:
$filename now have to contain full path to target directory.
Before 2.4: