mirror of
https://github.com/WerySkok/nativegallery.git
synced 2024-11-15 11:39:13 +03:00
13 lines
300 B
PHP
13 lines
300 B
PHP
<?php
|
|
|
|
namespace App\Controllers\Api\Images;
|
|
use \App\Services\{Auth, DB};
|
|
|
|
class CheckAll {
|
|
|
|
public function __construct() {
|
|
DB::query('UPDATE followers_notifications SET checked=1 WHERE follower_id=:id', array(':id'=>Auth::userid()));
|
|
header('Location: /fav_authors');
|
|
}
|
|
}
|
|
?>
|