function get_item_id in 3 different files
- Status
- Pending
- Subject
- function get_item_id in 3 different files
- Version
- 2.x
- Category
- Consistency
- Feature
- Trackers
~Trackers (mirror) - Resolution status
- New
- Submitted by
- E.W. Peter Jalajas
- Rating
- Description
I am poking around trackers trying to maybe copy the code to make a personal module or some such, and I noticed this:
r@s tw# grep -R function\ get_item_id ./*
./lib/trackers/trkWithMirrorTablesLib.php: function get_item_id($trackerId,$fieldId,$value) {
./lib/trackers/trackerlib.php: function get_item_id($trackerId,$fieldId,$value) {
./lib/tikilib.php: function get_item_id($trackerId,$fieldId,$value) {Seems risky to me to have 3 version of the same function. Is that as designed?
- Solution
- Can/should 2 of them be removed, and the calls to the remaining one be edited as needed?
- Importance
- 1 low
- Priority
- 5
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 1737
- Created
- Thursday 01 May, 2008 19:59:46 UTC
by Unknown - LastModif
- Thursday 01 May, 2008 19:59:46 UTC