Project

General

Profile

Feature #3481

Moving database constants to a new file: database.constants.inc.php

Added by Julio Montoya over 8 years ago. Updated over 8 years ago.

Status:
Feature implemented
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
23/05/2011
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Currently we have 2 database libraries for mysql and mysqli: database.lib.php and database.mysqli.lib.php

when adding a new constant for a table is better to add this constant in a separate file database.constants.inc.php
so we don't duplicate the constant definitions

Associated revisions

Revision a4f64513 (diff)
Added by Julio Montoya over 8 years ago

Adding database.constants.inc.php file with database definitions see #3481

History

#1

Updated by Julio Montoya over 8 years ago

  • Subject changed from Moving database constants to a new file: database.constant.inc.php to Moving database constants to a new file: database.constants.inc.php
#2

Updated by Julio Montoya over 8 years ago

  • Status changed from New to Needs more info
  • % Done changed from 0 to 80
#3

Updated by Yannick Warnier over 8 years ago

  • Status changed from Needs more info to Feature implemented
  • Assignee set to Julio Montoya
  • % Done changed from 80 to 100

Seen it. Approved. There are probably ways to share more things between all the database scripts (some methods could be used statically) but this is another story.

Also available in: Atom PDF