diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-19 10:34:51 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-19 10:34:51 +0000 |
commit | d17b6ad1cf85a4a91ef8fff186d96ff9c8cdd950 (patch) | |
tree | 3517d7fa0ca0e3a59edf289c67fe1ac35f2d4fa1 /modules/book | |
parent | 2b811363e8ec638548cae2ac844a28823f91877e (diff) | |
download | brdo-d17b6ad1cf85a4a91ef8fff186d96ff9c8cdd950.tar.gz brdo-d17b6ad1cf85a4a91ef8fff186d96ff9c8cdd950.tar.bz2 |
#199336 by JirkaRybka: remove improper t() use in update code (update goes all in English, but there were some mistakes), and add messages to updates where there was no return value otherwise, so users know what happens in each update
Diffstat (limited to 'modules/book')
-rw-r--r-- | modules/book/book.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/book/book.install b/modules/book/book.install index 72a9df86c..155261dd0 100644 --- a/modules/book/book.install +++ b/modules/book/book.install @@ -162,7 +162,7 @@ function book_update_6000() { // The first orphan becomes the parent for all other orphans. $book['parent'] = 0; $_SESSION['book_update_6000_orphans']['book'] = $book; - $ret[] = array('success' => TRUE, 'query' => t('Relocated orphan book pages.')); + $ret[] = array('success' => TRUE, 'query' => 'Relocated orphan book pages.'); } else { // Re-assign the parent value of the book, and add it to the stack. @@ -237,7 +237,7 @@ function book_update_6000() { if (empty($_SESSION['book_update_6000'])) { $ret['#finished'] = TRUE; - $ret[] = array('success' => TRUE, 'query' => t('Relocated existing book pages.')); + $ret[] = array('success' => TRUE, 'query' => 'Relocated existing book pages.'); $ret[] = update_sql("DROP TABLE {book_temp}"); unset($_SESSION['book_update_6000']); unset($_SESSION['book_update_6000_orphans']); |