Page Menu
Home
GitPull.it
Search
Configure Global Search
Log In
Files
F15181409
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/bot.php b/bot.php
index fc96f4c..2b546dc 100755
--- a/bot.php
+++ b/bot.php
@@ -1,25 +1,27 @@
#!/usr/bin/php
<?php
# Copyright (C) 2018 Valerio Bozzolan
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
+namespace itwikidelbot;
+
// autoload classes
require __DIR__ . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'autoload.php';
// load credentials
require __DIR__ . DIRECTORY_SEPARATOR . 'config.php';
// create the category year
$year = date( 'Y' );
-itwikidelbot\CategoryYear::createIfNotExists( $year );
+CategoryYear::createIfNotExists( $year );
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Nov 19, 06:10 (11 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2265100
Default Alt Text
(1 KB)
Attached To
Mode
R32 Italian Wikipedia Deletion Bot
Attached
Detach File
Event Timeline