In the module description, you mention scrubbing a database from live to development. It might be helpful for people to have an example of a query that might help make that change like the following

REPLACE INTO `system` (`filename`, `name`, `type`, `description`, `status`, `throttle`, `bootstrap`, `schema_version`, `weight`) VALUES ('sites/all/modules/admin_warning/admin_warning.module', 'admin_warning', 'module', 'Provides a warning to site administrators reminding them that they are logged in to the live site as administrators, not regular users.', 0, 0, 0, 0, 0);

Comments

David_Rothstein’s picture

Good suggestion, thanks.

Any reason I shouldn't recommend the following query instead? Seems like it would be simpler, and I believe it accomplishes the same thing:

DELETE FROM system WHERE name = 'admin_warning' AND type = 'module';
David_Rothstein’s picture

Status: Needs review » Fixed

OK, I made the above change to the project page. I went with the simpler query in my example, since it does seem that should work fine.

Thanks again!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.