Remove use of AS keyword from sql query in tag api.

In general, in the mantis code base, we do not add 'as' for tables,
and some database engines do not support AS in this context.
Remove use of AS keyword from sql query in tag api.

In general, in the mantis code base, we do not add 'as' for tables,
and some database engines do not support AS in this context.
Remove use of AS keyword from sql query in changelog page.

In general, in the mantis code base, we do not add 'as' for tables,
and some database engines do not support AS in this context.
Update db_get_table() calls for table 'user_pref'

Commit ac49ad898958dd72f36fddee72b4b92ef6039d1b adds support for the new
table name syntax,allowing us to replace db_get_table calls within queries.

Calls to db_get_table that are used by other database function,
i.e. db_insert_id, db_field_exists are deliberately left unchanged at this
stage.

This is aimed at breaking down the future DB API changes into manageable
chunks, and to aid the review process after 1.3 for 2.0.

This Pull request deals with calls for the 'user_pref' table only,
for ease of review, and syncing until merged.
Update db_get_table() calls for table 'user_print_pref'

Commit ac49ad898958dd72f36fddee72b4b92ef6039d1b adds support for the new
table name syntax,allowing us to replace db_get_table calls within queries.


Calls to db_get_table that are used by other database function,
i.e. db_insert_id, db_field_exists are deliberately left unchanged at this
stage.

This is aimed at breaking down the future DB API changes into manageable
chunks, and to aid the review process after 1.3 for 2.0.

This Pull request deals with calls for the 'user_print_pref' table only,
for ease of review, and syncing until merged.
Update db_get_table() calls for table 'user'

Commit ac49ad898958dd72f36fddee72b4b92ef6039d1b adds support for the new
table name syntax,allowing us to replace db_get_table calls within queries.

Calls to db_get_table that are used by other database function,
i.e. db_insert_id, db_field_exists are deliberately left unchanged at this
stage.

This is aimed at breaking down the future DB API changes into manageable
chunks, and to aid the review process after 1.3 for 2.0.

This Pull request deals with calls for the 'user' table only,
for ease of review, and syncing until merged.
Update db_get_table() calls for table 'user_profile'

Commit ac49ad898958dd72f36fddee72b4b92ef6039d1b adds support for the new
table name syntax,allowing us to replace db_get_table calls within queries.

Calls to db_get_table that are used by other database function,
i.e. db_insert_id, db_field_exists are deliberately left unchanged at this
stage.

This is aimed at breaking down the future DB API changes into manageable
chunks, and to aid the review process after 1.3 for 2.0.

This Pull request deals with calls for the 'user_profile' table only,
for ease of review, and syncing until merged.
Update db_get_table() calls for table 'tokens'

Commit ac49ad898958dd72f36fddee72b4b92ef6039d1b adds support for the new
table name syntax,allowing us to replace db_get_table calls within queries.

Calls to db_get_table that are used by other database function,
i.e. db_insert_id, db_field_exists are deliberately left unchanged at this
stage.

This is aimed at breaking down the future DB API changes into manageable
chunks, and to aid the review process after 1.3 for 2.0.

This Pull request deals with calls for the 'tokens' table only,
for ease of review, and syncing until merged.
Update db_get_table() calls for table 'sponsorship'

Commit ac49ad898958dd72f36fddee72b4b92ef6039d1b adds support for the new
table name syntax,allowing us to replace db_get_table calls within queries.

Calls to db_get_table that are used by other database function,
i.e. db_insert_id, db_field_exists are deliberately left unchanged at this
stage.

This is aimed at breaking down the future DB API changes into manageable
chunks, and to aid the review process after 1.3 for 2.0.

This Pull request deals with calls for the 'sponsorship' table only,
for ease of review, and syncing until merged.
Update db_get_table() calls for table 'project_version'

Commit ac49ad898958dd72f36fddee72b4b92ef6039d1b adds support for the new
table name syntax,allowing us to replace db_get_table calls within queries.


Calls to db_get_table that are used by other database function,
i.e. db_insert_id, db_field_exists are deliberately left unchanged at this
stage.

This is aimed at breaking down the future DB API changes into manageable
chunks, and to aid the review process after 1.3 for 2.0.

This Pull request deals with calls for the 'project_version' table only,
for ease of review, and syncing until merged.
Update db_get_table() calls for table 'plugin'

Commit ac49ad898958dd72f36fddee72b4b92ef6039d1b adds support for the new
table name syntax,allowing us to replace db_get_table calls within queries.

Calls to db_get_table that are used by other database function,
i.e. db_insert_id, db_field_exists are deliberately left unchanged at this
stage.

This is aimed at breaking down the future DB API changes into manageable
chunks, and to aid the review process after 1.3 for 2.0.

This Pull request deals with calls for the 'plugin' table only,
for ease of review, and syncing until merged.
Update db_get_table() calls for table 'news'

Commit ac49ad898958dd72f36fddee72b4b92ef6039d1b adds support for the new
table name syntax,allowing us to replace db_get_table calls within queries.

Calls to db_get_table that are used by other database function,
i.e. db_insert_id, db_field_exists are deliberately left unchanged at this
stage.

This is aimed at breaking down the future DB API changes into manageable
chunks, and to aid the review process after 1.3 for 2.0.

This Pull request deals with calls for the 'news' table only,
for ease of review, and syncing until merged.
Update db_get_table() calls for table 'tag'

Commit ac49ad898958dd72f36fddee72b4b92ef6039d1b adds support for the new
table name syntax,allowing us to replace db_get_table calls within queries.

Calls to db_get_table that are used by other database function,
i.e. db_insert_id, db_field_exists are deliberately left unchanged at this
stage.

This is aimed at breaking down the future DB API changes into manageable
chunks, and to aid the review process after 1.3 for 2.0.

This Pull request deals with calls for the 'tag' table only,
for ease of review, and syncing until merged.
remove legacy comment:

This was previously identified in c1945f2917726e62051a897676baefd32f2656e3
Use static variable over global variable.

This is a backport of code previously sent to github in 2011,
but not yet in master.
Update db_get_table() calls for table 'projectbug_file_table'

Commit ac49ad898958dd72f36fddee72b4b92ef6039d1b adds support for the new
table name syntax,allowing us to replace db_get_table calls within queries.

Calls to db_get_table that are used by other database function,
i.e. db_insert_id, db_field_exists are deliberately left unchanged at this
stage.

This is aimed at breaking down the future DB API changes into manageable
chunks, and to aid the review process after 1.3 for 2.0.

This Pull request deals with calls for the 'project_file' and 'bug_file' tables only,
for ease of review, and syncing until merged.
Port bf4a7c84ec1f8c57b1cc74dacf5d17aefcf2e116 to master

This moves test icons checking functionality to a admin check
and is backported from work completed and previously in reviewed in github
from the next branch in 2011.
Bump minimum supported version of postgres to 9.0.

The 8.4 series of postgres was EOL, end of July 2014, and this
can be confirmed by http://www.postgresql.org/about/news/1534/

To aid in testing support for different database engines, we should drop
version 8.4 for new mantis installations.
Add horizontal ruler before start of debug output

This helps seperate any debug output from the page generation within Mantis.
Merge branch 'seperate_debug_output'