Revision 2077
Added by darkviper almost 12 years ago
- little fixes in modules/news
- little fixes in some other files
| upgrade.php | ||
|---|---|---|
| 159 | 159 |
// first copy values inside the table and exchange all \ by / in field `link` |
| 160 | 160 |
$sql = 'UPDATE `'.$oDb->TablePrefix.'mod_news_posts` ' |
| 161 | 161 |
. 'SET `created_by`=`posted_by`, ' |
| 162 |
. '`created_when`=`posted_when` ' |
|
| 162 |
. '`created_when`=`posted_when`, '
|
|
| 163 | 163 |
. '`link`= REPLACE(`link`, \'\\\', \'/\')'; |
| 164 | 164 |
$oDb->query($sql); |
| 165 | 165 |
// read Timestamps from old styled accessfiles |
Also available in: Unified diff