Diff
Not logged in

Differences From:

File src/shun.c part of check-in [3f6edbc779] - Update to the latest SQLite. Add a Rebuild button on the Shun webpage. Add the test-detach CLI method. by drh on 2008-11-10 00:40:10. [view]

To:

File src/shun.c part of check-in [80406199683a] - Fix the Setup->Shunned->Rebuild button so that it works when the "fossil ui" command is run from within a check-out and without specifying the repository filename. by drh on 2008-11-27 22:58:53. [view]

@@ -55,8 +55,10 @@
   if( !g.okAdmin ){
     login_needed();
   }
   if( P("rebuild") ){
+    db_close();
+    db_open_repository(g.zRepositoryName);
     db_begin_transaction();
     rebuild_db(0,0);
     db_end_transaction(0);
   }