Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -2674,25 +2674,4 @@ |
2675 | 2675 | $salt = serialize($salt); |
2676 | 2676 | |
2677 | 2677 | return md5( mt_rand( 0, 0x7fffffff ) . $salt ); |
2678 | | -} |
2679 | | - |
2680 | | -/** |
2681 | | - * Create table name for shared database. |
2682 | | - * |
2683 | | - * @access public |
2684 | | - * @author eloy@wikia |
2685 | | - * |
2686 | | - * @param string $table: table name |
2687 | | - * |
2688 | | - * @return string: table name with additional shared database |
2689 | | - */ |
2690 | | -function wfSharedTable( $table, $useExternal = true ) { |
2691 | | - global $wgSharedDB, $wgExternalSharedDB; |
2692 | | - |
2693 | | - if ($useExternal && !empty( $wgExternalSharedDB )) { |
2694 | | - return "`$wgExternalSharedDB`.`$table`"; |
2695 | | - } elseif (!empty( $wgSharedDB )) { |
2696 | | - return "`$wgSharedDB`.`$table`"; |
2697 | | - } else |
2698 | | - return "`$table`"; |
2699 | 2678 | } |
\ No newline at end of file |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -174,8 +174,6 @@ |
175 | 175 | * Allow extensions to modify the user creation form by calling addInputItem(); |
176 | 176 | * Add meta generator tag to HTML output |
177 | 177 | * Two new hooks, ExtendJSGlobalVars and wfMessageCacheReplace added |
178 | | -* New global function, wfSharedTable - used to get the name of a table in the |
179 | | - shared database ($wgSharedDB) |
180 | 178 | |
181 | 179 | === Bug fixes in 1.13 === |
182 | 180 | |