| 1 |
<?php |
<?php |
| 2 |
// $Id: l10n_community.install,v 1.1.2.11.2.11 2009/08/16 15:00:51 goba Exp $ |
// $Id: l10n_community.install,v 1.1.2.11.2.12 2009/09/18 18:03:19 goba Exp $ |
| 3 |
/** |
/** |
| 4 |
* @file |
* @file |
| 5 |
* Localization community installation, update and uninstallation. |
* Localization community installation, update and uninstallation. |
| 589 |
} |
} |
| 590 |
return $ret; |
return $ret; |
| 591 |
} |
} |
| 592 |
|
|
| 593 |
|
/** |
| 594 |
|
* Translations which are submitted right away should have equal approval data. |
| 595 |
|
*/ |
| 596 |
|
function l10n_community_update_6008() { |
| 597 |
|
$ret = array(); |
| 598 |
|
$ret[] = update_sql('UPDATE {l10n_community_translation} SET uid_approved = uid_entered, time_approved = time_entered WHERE is_suggestion = 0 AND uid_approved = 0'); |
| 599 |
|
return $ret; |
| 600 |
|
} |