Index: trunk/phase3/includes/installer/DatabaseUpdater.php |
— | — | @@ -225,6 +225,15 @@ |
226 | 226 | $this->extensionUpdates[] = array( 'dropTable', $tableName, $sqlPath, true ); |
227 | 227 | } |
228 | 228 | |
| 229 | + /** |
| 230 | + * |
| 231 | + * @since 1.20 |
| 232 | + * |
| 233 | + * @param $tableName string |
| 234 | + */ |
| 235 | + public function extensionTableExists( $tableName ) { |
| 236 | + return ( $this->db->tableExists( $tableName, __METHOD__ ) ); |
| 237 | + } |
229 | 238 | |
230 | 239 | /** |
231 | 240 | * Add a maintenance script to be run after the database updates are complete. |