![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Jun 2005
Posts: 1
Rep Power: 0
![]() |
change the empty function from the old format to the new format
I have about 300 files which has the function getDBBackend().
How to write a program to change the empty function from the old format to the new format? Old empty function format are either: function getDBBackend() { // Not available } // getDBBackend or: function getDBBackend() { } // getDBBackend New empty function format is: function getDBBackend() { // DB backend not applicable, use test backend getTestObject(); } // getDBBackend If the function is not empty, then it will not be changed: function getDBBackend() { $msg = db_start_dget(MIO_DGET_DATA); //... } |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|