diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-12-02 12:20:21 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-12-02 12:20:21 -0800 |
commit | c7b934bc6daf41af1b6e0b04b9b0e9cb22113db6 (patch) | |
tree | d0bb35ae3c0da07cfb824494b3c6b910d52fd352 /modules/gallery/helpers/l10n_scanner.php | |
parent | d0874a65acfbb2ed36eb7eae666969fde69ca004 (diff) |
Update a couple more queries.
Diffstat (limited to 'modules/gallery/helpers/l10n_scanner.php')
-rw-r--r-- | modules/gallery/helpers/l10n_scanner.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/l10n_scanner.php b/modules/gallery/helpers/l10n_scanner.php index a7ce2c59..d76c4d19 100644 --- a/modules/gallery/helpers/l10n_scanner.php +++ b/modules/gallery/helpers/l10n_scanner.php @@ -28,11 +28,11 @@ class l10n_scanner_Core { static function process_message($message, &$cache) { if (empty($cache)) { - foreach (Database::instance() + foreach (db::build() ->select("key") ->from("incoming_translations") ->where("locale", "=", "root") - ->get() as $row) { + ->execute() as $row) { $cache[$row->key] = true; } } |