Version 0.11.2
Hotfix release, remove reference to library used in development that isn’t installed in production. -----BEGIN PGP SIGNATURE----- iQELBAATCgCTFiEEhBm1odiEyvSwr4+zGyx2r7FshZsFAlns48NfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDg0 MTlCNUExRDg4NENBRjRCMEFGOEZCMzFCMkM3NkFGQjE2Qzg1OUIVHGpvbm55QGpv bm55YmFybmVzLnVrAAoJEBssdq+xbIWbrpwBf2yYKoFqSceR+VLNZZ5ozmSoJl7t 9lc/uSUcnkFJQrCZ5B3RXXdl13pMEe598vIe8wGAo8BlrAR9HKkkwN8nwvQUgaCv Fv+pSlSk2wip17EsJbpb8YpS0PEP2Iho6RELrNlD =cf+b -----END PGP SIGNATURE----- Merge tag 'v0.11.2' into develop Version 0.11.2 Hotfix release, remove reference to library used in development that isn’t installed in production.
This commit is contained in:
commit
32de1142e7
2 changed files with 4 additions and 3 deletions
|
@ -4,7 +4,6 @@ namespace App;
|
|||
|
||||
use Cache;
|
||||
use Twitter;
|
||||
use Debugbar;
|
||||
use Normalizer;
|
||||
use GuzzleHttp\Client;
|
||||
use Laravel\Scout\Searchable;
|
||||
|
@ -28,7 +27,7 @@ class Note extends Model
|
|||
*
|
||||
* @var string
|
||||
*/
|
||||
private const USERNAMES_REGEX = '/@(\w+)/';
|
||||
private const USERNAMES_REGEX = '/\[.*?\](*SKIP)(*F)|@(\w+)/';
|
||||
|
||||
protected $contacts;
|
||||
|
||||
|
@ -436,7 +435,6 @@ class Note extends Model
|
|||
preg_match_all(self::USERNAMES_REGEX, $this->getoriginal('note'), $matches);
|
||||
|
||||
foreach ($matches[1] as $match) {
|
||||
Debugbar::info('query inside getContacts');
|
||||
$contacts[$match] = Contact::where('nick', mb_strtolower($match))->first();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
# Changelog
|
||||
|
||||
## Version 0.11.2 (2017-10-22)
|
||||
- This hotfix removes reference to a de package not installed on production
|
||||
|
||||
## Version 0.11.1 (2017-10-22)
|
||||
- Improve eloquent queries for rendering notes with contacts
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue