projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/fusionax' into account
[platal.git]
/
modules
/
events.php
diff --git
a/modules/events.php
b/modules/events.php
index
5c1c65f
..
0a16d14
100644
(file)
--- a/
modules/events.php
+++ b/
modules/events.php
@@
-129,9
+129,8
@@
class EventsModule extends PLModule
$page->assign('photo_incitation', $res->fetchOneCell() == 0);
// Geo-location onebox.
$page->assign('photo_incitation', $res->fetchOneCell() == 0);
// Geo-location onebox.
- require_once 'geoloc.inc.php';
- $res = localize_addresses(S::user()->id());
- $page->assign('geoloc_incitation', count($res));
+ require_once "geocoding.inc.php";
+ $page->assign('geoloc_incitation', Geocoder::countNonGeocoded(S::user()->id()));
// Direct link to the RSS feed, when available.
if (S::hasAuthToken()) {
// Direct link to the RSS feed, when available.
if (S::hasAuthToken()) {