Skip to content
Sign up
Sign in
This repository
Explore
Features
Enterprise
Pricing
Watch
60
Star
171
Fork
142
SimpleMachines
/
SMF2.1
Code
Issues
Pull requests
Wiki
Pulse
Graphs
HTTPS
clone URL
Subversion
checkout URL
You can clone with
HTTPS
or
Subversion
.
Download ZIP
Permalink
Browse files
Replacing [blue] with [color=blue]
Signed-off-by: John Rayes <live627@gmail.com>
Loading branch information
...
commit
fd609b8c453af968fc2b8d818acae48039a14e20
1 parent
46ad7b0
live627
authored
Aug 18, 2015
Unified
Split
Showing
2 changed files
with
10 additions
and
0 deletions
.
+5
−0
other/upgrade_2-1_mysql.sql
+5
−0
other/upgrade_2-1_postgresql.sql
Show notes
View
5
other/upgrade_2-1_mysql.sql
@@ -1837,4 +1837,9 @@ UPDATE {$db_prefix}personal_messages SET body = REPLACE(REPLACE(body, '[red]', '
---# Replacing [green] with [color=green]
UPDATE
{$db_prefix}messages
SET
body
=
REPLACE(REPLACE(body,
'
[green]
'
,
'
[color=green]
'
),
'
[/green]
'
,
'
[/color]
'
)
WHERE
body
LIKE
'
%[green]%
'
;
UPDATE
{$db_prefix}personal_messages
SET
body
=
REPLACE(REPLACE(body,
'
[green]
'
,
'
[color=green]
'
),
'
[/green]
'
,
'
[/color]
'
)
WHERE
body
LIKE
'
%[green]%
'
;
+
---#
+
+
---# Replacing [blue] with [color=blue]
+
UPDATE
{$db_prefix}messages
SET
body
=
REPLACE(REPLACE(body,
'
[blue]
'
,
'
[color=blue]
'
),
'
[/blue]
'
,
'
[/color]
'
)
WHERE
body
LIKE
'
%[blue]%
'
;
+
UPDATE
{$db_prefix}personal_messages
SET
body
=
REPLACE(REPLACE(body,
'
[blue]
'
,
'
[color=blue]
'
),
'
[/blue]
'
,
'
[/color]
'
)
WHERE
body
LIKE
'
%[blue]%
'
;
---#
Show notes
View
5
other/upgrade_2-1_postgresql.sql
@@ -1942,4 +1942,9 @@ UPDATE {$db_prefix}personal_messages SET body = REPLACE(REPLACE(body, '[red]', '
---# Replacing [green] with [color=green]
UPDATE
{$db_prefix}messages
SET
body
=
REPLACE(REPLACE(body,
'
[green]
'
,
'
[color=green]
'
),
'
[/green]
'
,
'
[/color]
'
)
WHERE
body
LIKE
'
%[green]%
'
;
UPDATE
{$db_prefix}personal_messages
SET
body
=
REPLACE(REPLACE(body,
'
[green]
'
,
'
[color=green]
'
),
'
[/green]
'
,
'
[/color]
'
)
WHERE
body
LIKE
'
%[green]%
'
;
+
---#
+
+
---# Replacing [blue] with [color=blue]
+
UPDATE
{$db_prefix}messages
SET
body
=
REPLACE(REPLACE(body,
'
[blue]
'
,
'
[color=blue]
'
),
'
[/blue]
'
,
'
[/color]
'
)
WHERE
body
LIKE
'
%[blue]%
'
;
+
UPDATE
{$db_prefix}personal_messages
SET
body
=
REPLACE(REPLACE(body,
'
[blue]
'
,
'
[color=blue]
'
),
'
[/blue]
'
,
'
[/color]
'
)
WHERE
body
LIKE
'
%[blue]%
'
;
---#
Toggle all file notes
Please
sign in
to comment.
Something went wrong with that request. Please try again.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.