Created
November 28, 2014 22:09
-
-
Save aaronschachter/9606caa12265366e1f71 to your computer and use it in GitHub Desktop.
Converting system paths to custom/contrib paths
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE system | |
SET filename = REPLACE(filename, 'sites/all/modules/', 'sites/all/modules/contrib/') | |
WHERE status = 1 | |
AND filename LIKE 'sites/all/modules%' | |
UPDATE system | |
SET filename = REPLACE(filename, 'sites/all/themes/', 'sites/all/themes/contrib/') | |
WHERE status = 1 | |
AND filename LIKE 'sites/all/themes%' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment