Completed
Branch master (1b2f30)
by Michael
06:29 queued 03:22
created

language/english/smartdbupdater.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/**
4
 * Module: SmartContent
5
 * Author: The SmartFactory <www.smartfactory.ca>
6
 * Licence: GNU
7
 */
8
// defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined');
0 ignored issues
show
Unused Code Comprehensibility introduced by
70% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
9
10
define('_SDU_IMPORT', 'Import');
11
define('_SDU_CURRENTVER', "Current version: <span class='currentVer'>%s</span>");
12
define('_SDU_DBVER', 'Database Version %s');
13
define('_SDU_MSG_ADD_DATA', 'Data added in table %s');
14
define('_SDU_MSG_ADD_DATA_ERR', 'Error adding data in table %s');
15
define('_SDU_MSG_CHGFIELD', 'Changing field %s in table %s');
16
define('_SDU_MSG_CHGFIELD_ERR', 'Error changing field %s in table %s');
17
define('_SDU_MSG_CREATE_TABLE', 'Table %s created');
18
define('_SDU_MSG_CREATE_TABLE_ERR', 'Error creating table %s');
19
define('_SDU_MSG_NEWFIELD', 'Successfully added field %s');
20
define('_SDU_MSG_NEWFIELD_ERR', 'Error adding field %s');
21
define('_SDU_NEEDUPDATE', 'Your database is out-of-date. Please upgrade your database tables!<br><b>Note : The SmartFactory strongly recommends you to backup all SmartSection tables before running this upgrade script.</b><br>');
22
define('_SDU_NOUPDATE', 'Your database is up-to-date. No updates are necessary.');
23
define('_SDU_UPDATE_DB', 'Updating Database');
24
define('_SDU_UPDATE_ERR', 'Errors updating to version %s');
25
define('_SDU_UPDATE_NOW', 'Update Now!');
26
define('_SDU_UPDATE_OK', 'Successfully updated to version %s');
27
define('_SDU_UPDATE_TO', 'Updating to version %s');
28
define('_SDU_UPDATE_UPDATING_DATABASE', 'Updating database...');
29