Compare commits

...

4 commits

Author SHA1 Message Date
Marc Alexander
cd0e682984
Merge pull request #6619 from marc1706/ticket/17308
[ticket/17308] Change project key to start with PHPBB-
2024-06-01 08:31:59 +02:00
Marc Alexander
431b399c68
Merge pull request #6628 from marc1706/ticket/17327
[ticket/17327] Use class name from use statement
2024-06-01 08:15:26 +02:00
Marc Alexander
56d8a7e43f
[ticket/17327] Use class name from use statement
PHPBB3-17327
2024-05-31 22:30:05 +02:00
Marc Alexander
8954a68953
[ticket/17308] Change project key to start with PHPBB-
PHPBB-17308
2024-05-18 08:27:19 +02:00
4 changed files with 5 additions and 5 deletions

View file

@ -7,4 +7,4 @@ Checklist:
Tracker ticket:
https://tracker.phpbb.com/browse/PHPBB3-12345
https://tracker.phpbb.com/browse/PHPBB-12345

View file

@ -224,7 +224,7 @@ do
"footer")
err=$ERR_FOOTER;
# Each ticket is on its own line
echo "$line" | grep -Eq "^PHPBB3-[0-9]+$";
echo "$line" | grep -Eq "^PHPBB3?-[0-9]+$";
;;
"eof")
err=$ERR_EOF;
@ -356,7 +356,7 @@ echo "$expecting" | grep -q "eof" || (
# Check the branch ticket is mentioned, doesn't make sense otherwise
if [ $ticket -gt 0 ]
then
echo "$tickets" | grep -Eq "\bPHPBB3-$ticket\b" || (
echo "$tickets" | grep -Eq "\bPHPBB3?-$ticket\b" || (
complain "Ticket ID [$ticket] of branch missing from list of tickets:" >&2;
complain "$tickets" | sed 's/ /\n/g;s/^/* /g' >&2;
quit $ERR_FOOTER;

View file

@ -47,7 +47,7 @@ then
# Branch is prefixed with 'ticket/', append ticket ID to message
if [ "$branch" != "${branch##ticket/}" ];
then
tail="$(printf '\n\nPHPBB3-%s' "$ticket_id")";
tail="$(printf '\n\nPHPBB-%s' "$ticket_id")";
fi
fi

View file

@ -337,7 +337,7 @@ class add extends command
$sql_ary = [
'user_actkey' => $user_actkey,
'user_actkey_expiration' => \phpbb\user::get_token_expiration(),
'user_actkey_expiration' => user::get_token_expiration(),
];
$sql = 'UPDATE ' . USERS_TABLE . '