Forráskód Böngészése

reattributePosts returns nothing now + city => server in ['default_timezone']

emanuele 12 éve
szülő
commit
92d681b077
2 módosított fájl, 2 hozzáadás és 4 törlés
  1. 1 3
      Sources/Subs-Members.php
  2. 1 1
      Themes/default/languages/Help.english.php

+ 1 - 3
Sources/Subs-Members.php

@@ -1099,7 +1099,7 @@ function membersAllowedTo($permission, $board_id = null)
  * @param string $email = false
  * @param string $membername = false
  * @param bool $post_count = false
- * @return the number of successful reattributed posts.
+ * @return nothing
  */
 function reattributePosts($memID, $email = false, $membername = false, $post_count = false)
 {
@@ -1177,8 +1177,6 @@ function reattributePosts($memID, $email = false, $membername = false, $post_cou
 			'memID' => $memID,
 		)
 	);
-
-	return $smcFunc['db_affected_rows']();
 }
 
 /**

+ 1 - 1
Themes/default/languages/Help.english.php

@@ -333,7 +333,7 @@ $helptxt['localCookies'] = 'SMF uses cookies to store login information on the c
 	Especially when using SSI.php, global cookies are recommended.';
 $helptxt['enableBBC'] = 'Selecting this option will allow your members to use Bulletin Board Code (BBC) throughout the forum, allowing users to format their posts with images, type formatting and more.';
 $helptxt['time_offset'] = 'Not all forum administrators want their forum to use the same time zone as the server upon which it is hosted. Use this option to specify a time difference (in hours) from which the forum should operate from the server time. Negative and decimal values are permitted.';
-$helptxt['default_timezone'] = 'The server timezone tells PHP where your server is located. You should ensure this is set correctly, preferably to the country/city in which the city is located. You can find out more information on the <a href="http://www.php.net/manual/en/timezones.php" target="_blank">PHP Site</a>.';
+$helptxt['default_timezone'] = 'The server timezone tells PHP where your server is located. You should ensure this is set correctly, preferably to the country/city in which the server is located. You can find out more information on the <a href="http://www.php.net/manual/en/timezones.php" target="_blank">PHP Site</a>.';
 $helptxt['spamWaitTime'] = 'Here you can select the amount of time that must pass between postings. This can be used to stop people from "spamming" your forum by limiting how often they can post.';
 
 $helptxt['enablePostHTML'] = 'This will allow the posting of some basic HTML tags: